Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConnectStatus ¶
type ConnectStatus int
const ( ConnectStatusFail ConnectStatus = 0 ConnectStatusNew ConnectStatus = 1 ConnectStatusIng ConnectStatus = 2 ConnectStatusOk ConnectStatus = 3 ConnectStatusStop ConnectStatus = 4 ConnectStatusRe ConnectStatus = 5 ConnectStatusDel ConnectStatus = 6 )
用于存储 每个连接的状态,1、新增 2、连接中 0、连接失败 3、连接成功 4、中断连接 5 重新连接
func (ConnectStatus) String ¶
func (c ConnectStatus) String() string
type ForwardType ¶
type ForwardType string
const ( ForwardTypeLocal ForwardType = "L" ForwardTypeRemote ForwardType = "R" ForwardTypeDynamic ForwardType = "D" ForwardTypeHTTP ForwardType = "H" )
func (ForwardType) String ¶
func (f ForwardType) String() string
type SSHValidType ¶
type SSHValidType int
const ( SSHValidPasswd SSHValidType = 1 SSHValidKey SSHValidType = 2 )
func (SSHValidType) String ¶
func (s SSHValidType) String() string
type TextStatus ¶
type TextStatus string
const ( TextStatusEnable TextStatus = "Y" TextStatusDisable TextStatus = "N" )
Click to show internal directories.
Click to hide internal directories.