Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CommandHandler ¶
type CommandHandler struct {
// contains filtered or unexported fields
}
A CommandHandler handles commands and keeps track of their states
func NewCommandHandler ¶
func NewCommandHandler() *CommandHandler
NewCommandHandler creates a new command handler
func (*CommandHandler) HandleCommand ¶
func (h *CommandHandler) HandleCommand(id, action string) *message.CmdResultPayload
HandleCommand handles a command
Click to show internal directories.
Click to hide internal directories.