Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExecCommand ¶
Types ¶
type LocalMachine ¶
type LocalMachine struct { IP net.IP //client's url Stdin *os.File // stdin stream Stdout *os.File //stdout stream Stderr *os.File // stderr stream Information goInfo.GoInfoObject }
func (LocalMachine) CollectInfo ¶
func (lm LocalMachine) CollectInfo() error
func (LocalMachine) GetLocalAddr ¶
func (lm LocalMachine) GetLocalAddr() error
func (LocalMachine) PrintInfo ¶
func (lm LocalMachine) PrintInfo() error
func (LocalMachine) SendCommand ¶
func (lm LocalMachine) SendCommand(command Cmd, rm RemoteMachine) (interface{}, error)
type RemoteMachine ¶
func (RemoteMachine) ListenForCommands ¶
func (rm RemoteMachine) ListenForCommands() (*Cmd, error)
Click to show internal directories.
Click to hide internal directories.