Documentation ¶ Index ¶ type Client func (c *Client) Connections() (*ssh.Client, *ssh.Session, error) func (c *Client) RunCommand(command string) (string, error) func (c *Client) RunCommandPty(command string) func (c *Client) RunCommands(commands []string) ([]string, error) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Client ¶ type Client struct { Timeout time.Duration Host string User string Password string Port int } func (*Client) Connections ¶ func (c *Client) Connections() (*ssh.Client, *ssh.Session, error) func (*Client) RunCommand ¶ func (c *Client) RunCommand(command string) (string, error) func (*Client) RunCommandPty ¶ func (c *Client) RunCommandPty(command string) func (*Client) RunCommands ¶ func (c *Client) RunCommands(commands []string) ([]string, error) Source Files ¶ View all Source files client.go Click to show internal directories. Click to hide internal directories.