ui

package
v0.0.0-...-06767ef Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 14, 2023 License: MIT Imports: 1 Imported by: 0

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"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL