f33f7b5c29
+ Refactored all imports + Fixed a bug for the logging regarding removing \n \t \r + Updated to current MGO release + Changed the name of ICCC
14 lines
491 B
Go
14 lines
491 B
Go
package System
|
|
|
|
import (
|
|
"github.com/SommerEngineering/Ocean/ICCC"
|
|
"github.com/SommerEngineering/Ocean/Log"
|
|
LM "github.com/SommerEngineering/Ocean/Log/Meta"
|
|
)
|
|
|
|
func icccSystemStart(data map[string][]string) {
|
|
_, _, obj := ICCC.Data2Message(&ICCCStartUpMessage{}, data)
|
|
messageData := obj.(*ICCCStartUpMessage)
|
|
Log.LogShort(senderName, LM.CategorySYSTEM, LM.LevelINFO, LM.MessageNameSTARTUP, `ICCC message: The server is now up and ready.`, messageData.IPAddressAndPort)
|
|
}
|