Documentation ¶ Index ¶ type Options type Terminal func NewTerminal(ws *websocket.Conn, opts Options) *Terminal func (t *Terminal) Run() Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Options ¶ type Options struct { Addr string `json:"addr"` User string `json:"user"` Password string `json:"password"` Cols int `json:"cols"` Rows int `json:"rows"` } type Terminal ¶ type Terminal struct { // contains filtered or unexported fields } func NewTerminal ¶ func NewTerminal(ws *websocket.Conn, opts Options) *Terminal func (*Terminal) Run ¶ func (t *Terminal) Run() Source Files ¶ View all Source files terminal.go Click to show internal directories. Click to hide internal directories.