Documentation ¶ Index ¶ type Client func Dial(addr, identity string) (*Client, error) func (c Client) Forward(local, remote int) error func (c Client) Output(cmd string) ([]byte, error) func (c Client) Push(name string, mode os.FileMode, size int64, r io.Reader) error func (c Client) Run(cmd string, echo bool) error func (c Client) RunPTY(cmd string) error Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Client ¶ type Client struct { Client *ssh.Client } func Dial ¶ func Dial(addr, identity string) (*Client, error) func (Client) Forward ¶ added in v0.10.0 func (c Client) Forward(local, remote int) error func (Client) Output ¶ func (c Client) Output(cmd string) ([]byte, error) func (Client) Push ¶ func (c Client) Push(name string, mode os.FileMode, size int64, r io.Reader) error func (Client) Run ¶ func (c Client) Run(cmd string, echo bool) error func (Client) RunPTY ¶ func (c Client) RunPTY(cmd string) error Source Files ¶ View all Source files client.go pog.go Click to show internal directories. Click to hide internal directories.