package
Version:
v0.0.0-...-e56e09a
Opens a new window with list of versions in this module.
Published: Dec 12, 2017
License: Apache-2.0
Opens a new window with license information.
Imports: 7
Opens a new window with list of imports.
Imported by: 6
Opens a new window with list of known importers.
Documentation
¶
type CommandRunnerBody struct {
JsonRpc string `json:"jsonrpc"`
Method string `json:"method"`
Params Params `json:"params"`
ID int `json:"id"`
}
type CommandRunnerResponseBody struct {
JsonRpc string `json:"jsonrpc"`
Result Result `json:"result"`
ID int `json:"id"`
}
type Params struct {
Command string `json:"cmd"`
Version int `json:"version"`
}
type Result struct {
Message string `json:"msg"`
Body interface{} `json:"body"`
}
type Runner struct {
IP string `json:"ip"`
Username string `json:"username"`
Password string `json:"password"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.