config

package
v1.7.0 Latest Latest
Warning

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

Go to latest
Published: Jul 27, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AgentConfig

type AgentConfig struct {
	Group        uint64
	Address      netip.Addr
	Key          psk.PSK
	Interval     time.Duration
	Destinations []string
	Dialer       iface.Dialer
}

type GroupConfig

type GroupConfig struct {
	ID             uint64
	PSK            *psk.PSK
	Expire         time.Duration
	ClockSkew      time.Duration `yaml:"clock_skew"`
	ReadinessDelay time.Duration `yaml:"readiness_delay"`
}

type ListenerConfig

type ListenerConfig struct {
	Listen  []string
	Groups  []GroupConfig
	Outputs []OutputConfig
}

type OutputConfig

type OutputConfig struct {
	Kind string
	Spec yaml.Node
}

Jump to

Keyboard shortcuts

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