Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type CommandPayload ¶
type CommandPayload struct { Key string `json:"key"` CommandName string `json:"command_name"` CommandArgs []interface{} `json:"command_args"` }
CommandPayload the structure expected from any http requested for delivering the info associated with the command that needs to be executed
type ResponsePayload ¶
type ResponsePayload struct { ErrorLog string `json:"error_log"` CommandResult string `json:"command_result"` }
ResponsePayload structure for the respone containing the command result or error
Click to show internal directories.
Click to hide internal directories.