Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Debug bool
Debug enables verbose HTTP request/response logging to stderr.
Functions ¶
This section is empty.
Types ¶
type BatchRequest ¶
type BatchRequest struct {
Commands []map[string]interface{} `json:"commands"`
}
type CommandRequest ¶
type CommandRequest struct {
Command string `json:"command"`
Params interface{} `json:"params"`
}
type CommandResponse ¶
type CommandResponse struct {
Success bool `json:"success"`
Message string `json:"message"`
Data json.RawMessage `json:"data,omitempty"`
}
Click to show internal directories.
Click to hide internal directories.