Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
func (*Client) NewSession ¶
func (c *Client) NewSession(sc SessionConfig) (s *Session, err error)
type Config ¶
type Config struct { *zap.SugaredLogger User string Host string Port uint16 Auth ssh.AuthMethod Timeout time.Duration }
type SessionConfig ¶
type SessionConfig struct { PTYRequested bool PTYPayload ssh_types.PTYRequestMsg Requests chan interface{} }
Click to show internal directories.
Click to hide internal directories.