Documentation ¶
Index ¶
Constants ¶
View Source
const ( Terminal = iota Resize Heartbeat )
msg flag type.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type WebSocketShell ¶
type WebSocketShell struct { Host string Port string Username string Password string Key []byte Client *ssh.Client Session *ssh.Session }
func NewWebSocketShell ¶
func NewWebSocketShell(host string, port string, username, password string, key []byte) *WebSocketShell
func (*WebSocketShell) Close ¶
func (wssh *WebSocketShell) Close()
func (*WebSocketShell) Config ¶
func (wssh *WebSocketShell) Config(cols, rows int) error
config the terminal modes.
func (*WebSocketShell) WebSocket ¶
func (wssh *WebSocketShell) WebSocket(ws *websocket.Conn)
type WindowResize ¶
terminal window resize.
Click to show internal directories.
Click to hide internal directories.