Documentation
¶
Index ¶
Constants ¶
View Source
const (
EventResize = "resize"
)
Variables ¶
View Source
var Modes = ssh.TerminalModes{ ssh.ECHO: 1, ssh.TTY_OP_ISPEED: 14400, ssh.TTY_OP_OSPEED: 14400, }
Functions ¶
This section is empty.
Types ¶
type Terminal ¶
type Terminal struct {
Websocket *websocket.Conn
Stdin io.WriteCloser
Stdout *WsBufferWriter
Session *ssh.Session
// contains filtered or unexported fields
}
func NewTerminal ¶
func NewTerminal() *Terminal
type TerminalEvent ¶
type WsBufferWriter ¶
type WsBufferWriter struct {
// contains filtered or unexported fields
}
func (*WsBufferWriter) Reset ¶
func (w *WsBufferWriter) Reset()
Click to show internal directories.
Click to hide internal directories.