relay

package
v0.6.2 Latest Latest
Warning

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

Go to latest
Published: Jul 20, 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
	AllowNoBookingID bool
	Audience         string
	BufferSize       int64
	PruneEvery       time.Duration
	RelayPort        int
	Secret           string
	StatsEvery       time.Duration
	Target           string
}

Config holds the relay server paramters

Jump to

Keyboard shortcuts

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