Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Message ¶
type Message struct { Type MessageType `json:"type"` Payload json.RawMessage `json:"payload"` }
type MessageType ¶
type MessageType string
const ( MessageTypeStartTunnelHTTP MessageType = "MT_RequestTunnelStart_HTTP" MessageTypeStartTunnelDirectory MessageType = "MT_RequestTunnelStart_Directory" MessageTypeStartTunnelWebDav MessageType = "MT_RequestTunnelStart_WebDav" MessageTypeStopTunnel MessageType = "MT_RequestTunnelStop" MessageTypeAuthorization MessageType = "MT_RequestLogin" MessageTypeLogout MessageType = "MT_RequestLogout" MessageTypeOpenBrowser MessageType = "MT_OpenInBrowser" )
type OpenInBrowserMessage ¶
type OpenInBrowserMessage struct {
URL string `json:"url"`
}
type StopTunnelMessage ¶
type StopTunnelMessage struct {
TunnelID string `json:"tunnelId"`
}
Click to show internal directories.
Click to hide internal directories.