gossh_python

package
v0.0.0-...-a933497 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 8, 2020 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewRPCSession

func NewRPCSession(hostname, username, password string, port, timeout int) uint64

NewRPCSession creates a new session and returns the sessionID

func RPCClose

func RPCClose(sessionID uint64) error

RPCClose closes

func RPCConnect

func RPCConnect(sessionID uint64) error

RPCConnect connects

func RPCGetShell

func RPCGetShell(sessionID uint64, terminal string, height, width int) error

RPCGetShell gets a shell

func RPCRead

func RPCRead(sessionID uint64, size int) (string, error)

RPCRead reads data

func RPCWrite

func RPCWrite(sessionID uint64, data string) error

RPCWrite reads data

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL