Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
Conf = &Config{}
)
Functions ¶
Types ¶
type Client ¶
type Client struct { SshConf *ssh.ClientConfig Infos []*Info Modes *ssh.TerminalModes Ch chan *EchoMsg // contains filtered or unexported fields }
func NewSshClient ¶
func (*Client) RegInfoHostsSlice ¶
call RegInfoHostsSlice,RegInfoHostsStr before Connect
func (*Client) RegInfoHostsStr ¶
type CommaStrSlice ¶
type CommaStrSlice []string
func (*CommaStrSlice) Set ¶
func (c *CommaStrSlice) Set(value string) error
func (*CommaStrSlice) String ¶
func (c *CommaStrSlice) String() string
type Config ¶
type RemoteHost ¶
type RemoteHostFlag ¶
type RemoteHostFlag []RemoteHost
func (*RemoteHostFlag) Set ¶
func (rhf *RemoteHostFlag) Set(value string) error
func (*RemoteHostFlag) String ¶
func (rhf *RemoteHostFlag) String() string
Click to show internal directories.
Click to hide internal directories.