Documentation ¶
Index ¶
- func NewRPCSession(hostname, username, password string, port, timeout int) uint64
- func RPCClose(sessionID uint64) error
- func RPCConnect(sessionID uint64) error
- func RPCGetShell(sessionID uint64, terminal string, height, width int) error
- func RPCRead(sessionID uint64, size int) (string, error)
- func RPCWrite(sessionID uint64, data string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewRPCSession ¶
NewRPCSession creates a new session and returns the sessionID
func RPCGetShell ¶
RPCGetShell gets a shell
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.