relay

package
v0.4.5 Latest Latest
Warning

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

Go to latest
Published: Jan 29, 2023 License: AGPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Relay

func Relay(closed <-chan struct{}, parentwg *sync.WaitGroup, config Config)

Relay runs a websocket relay

Types

type Config added in v0.3.0

type Config struct {
	AccessPort       int
	RelayPort        int
	Audience         string
	Secret           string
	Target           string
	AllowNoBookingID bool
	PruneEvery       time.Duration
}

Jump to

Keyboard shortcuts

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