Documentation
¶
Index ¶
- type WebSSH
- func (ws *WebSSH) AddSSHConn(id string, conn net.Conn)
- func (ws *WebSSH) AddWebsocket(id string, conn *websocket.Conn)
- func (ws *WebSSH) SetBuffSize(buffSize uint32) *WebSSH
- func (ws *WebSSH) SetExpired(expired time.Duration) *WebSSH
- func (ws *WebSSH) SetLogOut(out io.Writer) *WebSSH
- func (ws *WebSSH) SetLogger(logger *log.Logger) *WebSSH
- func (ws *WebSSH) SetTerm(term string) *WebSSH
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type WebSSH ¶
type WebSSH struct {
// contains filtered or unexported fields
}
WebSSH Websocket和ssh
func (*WebSSH) AddSSHConn ¶
AddSSHConn add ssh netword connect
func (*WebSSH) AddWebsocket ¶
AddWebsocket add websocket connect
func (*WebSSH) SetBuffSize ¶
SetBuffSize set buff size
func (*WebSSH) SetExpired ¶
SetExpired set logger
Click to show internal directories.
Click to hide internal directories.