Documentation ¶
Index ¶
Constants ¶
View Source
const ( SHUTDOWN = "shutdown" STOP = "stop" REGISTER = "register" INIT = "init" START = "start" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CMD ¶
type CMD struct { CmdName CommandName `json:"cmd"` Payload json.RawMessage `json:"payload"` }
type CommandName ¶
type CommandName string
type Init ¶
type Init struct { NsAddress string `json:"nsAddress"` NbGateway int `json:"nbGatewayPerLorhammer"` NbNode [2]int `json:"nbNodePerGateway"` ScenarioSleepTime [2]string `json:"scenarioSleepTime"` GatewaySleepTime [2]string `json:"gatewaySleepTime"` AppsKey string `json:"appskey"` Nwskey string `json:"nwskey"` WithJoin bool `json:"withJoin"` Payloads []string `json:"payloads"` }
Click to show internal directories.
Click to hide internal directories.