Help us shape the future of Go! Take the 2026 Go Developer Survey

relay

package
v0.9.3 Latest Latest
Warning

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

Go to latest
Published: Jan 5, 2026 License: GPL-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