Documentation
¶
Index ¶
Constants ¶
View Source
const ( SftpWebSocketMessageTypeHeartbeat = "heartbeat" SftpWebSocketMessageTypeID = "cid" )
View Source
const ( SIGN_IN_FORM_TYPE_ERROR_VALID = iota SIGN_IN_FORM_TYPE_ERROR_PASSWORD SIGN_IN_FORM_TYPE_ERROR_TEST )
View Source
const ( SSHWebSocketMessageTypeTerminal = "terminal" SSHWebSocketMessageTypeHeartbeat = "heartbeat" SSHWebSocketMessageTypeResize = "resize" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type JsonResponse ¶
type JsonResponse struct { HasError bool `json:"has_error"` Message interface{} `json:"message"` Addition interface{} `json:"addition"` }
type SSHWebSocketMessage ¶
type SSHWebSocketMessage struct { Type string `json:"type"` Data interface{} `json:"data"` // json.RawMessage }
type SftpWebSocketMessage ¶
type SftpWebSocketMessage struct { Type string `json:"type"` Data interface{} `json:"data"` // json.RawMessage }
type TerminalMessage ¶
type TerminalMessage struct {
DataBase64 string `json:"base64"`
}
normal terminal message
type UserInfo ¶
type UserInfo struct { utils.JwtConnection Username string `json:"username"` Password string `json:"-"` }
type WindowResize ¶
terminal window resize
Click to show internal directories.
Click to hide internal directories.