Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ConfigKey = contextKey{"ssh-config"} ConnKey = contextKey{"ssh-conn"} ClientKey = contextKey{"ssh-client"} )
View Source
var ErrConfigNotFound = errors.New("config not found")
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct { ConfigCallback DialContext }
type Cmd ¶
type Config ¶
type Config struct { ssh.ClientConfig `json:"-" yaml:"-"` Network string Address string KeepAlive bool Connection Retry ServerAlive Heartbeat }
func (*Config) Callback ¶
func (cfg *Config) Callback() ConfigCallback
type ConfigCallback ¶
type DialContext ¶
type SessionFunc ¶
Click to show internal directories.
Click to hide internal directories.