Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Config ¶
type Config []HostConfig
ssh config文件
func (*Config) GetHost ¶
func (c *Config) GetHost(host string) HostConfig
func (*Config) RemoveHost ¶
func (*Config) SetHost ¶
func (c *Config) SetHost(host HostConfig)
type HostConfig ¶
type HostConfig struct { Host string ServerAliveInterval int HostName string User string Port int StrictHostKeyChecking string UserKnownHostsFile string IdentityFile string LogLevel string }
func (*HostConfig) Map ¶
func (hc *HostConfig) Map(lambda func(key string, value interface{}))
Click to show internal directories.
Click to hide internal directories.