16 lines
434 B
Go
16 lines
434 B
Go
package Robots
|
|
|
|
import (
|
|
"github.com/SommerEngineering/Ocean/ConfigurationDB"
|
|
"github.com/SommerEngineering/Ocean/Log"
|
|
LM "github.com/SommerEngineering/Ocean/Log/Meta"
|
|
)
|
|
|
|
// Init the package.
|
|
func init() {
|
|
Log.LogShort(senderName, LM.CategorySYSTEM, LM.LevelINFO, LM.MessageNameSTARTUP, `Init the robots component.`)
|
|
|
|
// Read the robots.txt from the database:
|
|
robotsContent = ConfigurationDB.Read(`robots.txt`)
|
|
}
|