params

package
v0.0.0-...-63b2e14 Latest Latest
Warning

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

Go to latest
Published: Aug 8, 2023 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EventType

type EventType string
const (
	EventTypeTunnelReady  EventType = "tunnel_ready"
	EventTypeTunnelClosed EventType = "tunnel_closed"
)

type NotifyMessage

type NotifyMessage struct {
	MessageType NotifyMessageType
	Payload     json.RawMessage
}

type NotifyMessageType

type NotifyMessageType string
const (
	NotifyMessageLog NotifyMessageType = "log"
	NotifyMessageURL NotifyMessageType = "url"
	NofityMessageRaw NotifyMessageType = "raw"
)

type TunnelEvent

type TunnelEvent struct {
	EventType          EventType
	NotifyChan         chan NotifyMessage
	ErrorChan          chan error
	BindAddr           string
	RequestedSubdomain string
}

type URLs

type URLs struct {
	HTTP  string `json:"http"`
	HTTPS string `json:"https"`
}

Jump to

Keyboard shortcuts

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