Documentation
¶
Index ¶
Constants ¶
View Source
const ( Modules = iota Module UI Screen )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ModuleInformation ¶
type ModuleInformation struct {
ID string // ID of the module
Name string // Name of the module
Ready bool // Is the module ready to receive orders
Changes []string // List of changes the module can receive
Heartbeat time.Duration // Duration between each heartbeat, for debugging and logging purposes
LastHeartbeat time.Time // Last time the module sent a heartbeat, for debugging and logging purposes
}
type ModulesPayload ¶ added in v0.4.1
type ModulesPayload struct {
Modules []ModuleInformation // Information about the active modules
}
type ScreenPayload ¶ added in v0.5.14
Click to show internal directories.
Click to hide internal directories.