Documentation
¶
Index ¶
- Constants
- Variables
- type WebSSH
- func (ws *WebSSH) AddSSHConn(conn net.Conn)
- func (ws *WebSSH) AddWebsocket(conn *websocket.Conn)
- func (ws *WebSSH) SetBuffSize(buffSize uint32)
- func (ws *WebSSH) SetConnTimeOut(connTimeout time.Duration)
- func (ws *WebSSH) SetId(id string)
- func (ws *WebSSH) SetLogOut(out io.Writer)
- func (ws *WebSSH) SetLogger(logger *log.Logger)
- func (ws *WebSSH) SetTerm(term string)
Constants ¶
View Source
const ( TermLinux = "linux" TermAnsi = "ansi" TermScoAnsi = "scoansi" TermXterm = "xterm" TermXterm256Color = "xterm-256color" TermVt100 = "vt100" TermVt102 = "vt102" TermVt220 = "vt220" TermVt320 = "vt320" TermWyse50 = "wyse50" TermWyse60 = "wyse60" TermDumb = "dumb" )
Variables ¶
Functions ¶
This section is empty.
Types ¶
type WebSSH ¶
type WebSSH struct {
// contains filtered or unexported fields
}
WebSSH 管理 Websocket 和 ssh 连接
func (*WebSSH) SetConnTimeOut ¶ added in v0.0.2
设置连接超时时间
Click to show internal directories.
Click to hide internal directories.