Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Xterm ¶
type Xterm struct { }
func (*Xterm) Connect ¶
Connect godoc
@Summary websocket连接 @Tags Web Shell @Param rows query int true "pty的行数" @Param cols query int true "pty的列数" @Param token query string true "Web Shell连接使用的token" @Success 200 {object} nil @Router /terminal/ws [get]
func (*Xterm) ConnectWithRemoteSSH ¶
ConnectWithRemoteSSH godoc
@Summary websocket连接,并通过ssh连接其他主机 @Tags Web Shell With SSH @Param rows query int true "pty的行数" @Param cols query int true "pty的列数" @Param token query string true "Web Shell连接使用的token" @Param id path int64 true "主机ID" @Success 200 {object} nil @Router /terminal/ws/ssh/:id [get]
Click to show internal directories.
Click to hide internal directories.