Ocean/Robots/Init.go

16 lines
434 B
Go
Raw Normal View History

package Robots
import (
"github.com/SommerEngineering/Ocean/ConfigurationDB"
"github.com/SommerEngineering/Ocean/Log"
LM "github.com/SommerEngineering/Ocean/Log/Meta"
)
2015-06-17 15:44:52 +00:00
// Init the package.
func init() {
Log.LogShort(senderName, LM.CategorySYSTEM, LM.LevelINFO, LM.MessageNameSTARTUP, `Init the robots component.`)
2015-06-17 15:44:52 +00:00
// Read the robots.txt from the database:
robotsContent = ConfigurationDB.Read(`robots.txt`)
}