Documentation
¶
Index ¶
- Constants
- func ReadCommand(conn net.Conn) (byte, error)
- func ReadMessage(conn net.Conn, v interface{}) error
- func SendState(conn net.Conn, spaceId string, hasCodeServer bool, sshPort int, ...) error
- func WriteCommand(conn net.Conn, cmdType byte) error
- func WriteMessage(conn net.Conn, payload interface{}) error
- type AgentState
- type HttpPort
- type Pong
- type Register
- type RegisterResponse
- type TcpPort
- type Terminal
- type TerminalWindowSize
- type UpdateAuthorizedKeys
Constants ¶
View Source
const ( MSG_NONE = iota MSG_PING MSG_UPDATE_STATE MSG_UPDATE_AUTHORIZED_KEYS MSG_TERMINAL MSG_CODE_SERVER MSG_PROXY_TCP_PORT MSG_PROXY_VNC MSG_PROXY_HTTP MSG_VSCODE_TUNNEL_TERMINAL )
enum of message types
View Source
const ( MSG_TERMINAL_DATA = iota MSG_TERMINAL_RESIZE )
Variables ¶
This section is empty.
Functions ¶
func ReadMessage ¶
func WriteMessage ¶
Types ¶
type AgentState ¶
type RegisterResponse ¶
message sent from the server to the agent in response to a register message
type TerminalWindowSize ¶
type UpdateAuthorizedKeys ¶
message sent to update the authorized keys within an agent
Click to show internal directories.
Click to hide internal directories.