wireguard

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Nov 14, 2022 License: Apache-2.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

View Source
const (

	// DriverName specifies name of WireGuard VPN backend driver.
	DriverName = "wireguard"
	// PublicKey is name (key) of publicKey entry in back-end map.
	PublicKey = "publicKey"
	// KeepAliveInterval to use for wg peers.
	KeepAliveInterval = 10 * time.Second

	// DeviceName specifies name of WireGuard network device.
	DeviceName = "raven-wg0"
	// ListenPort specifies port of WireGuard listened.
	ListenPort = 51820
)

Variables

This section is empty.

Functions

func New

func New(cfg *config.Config) (vpndriver.Driver, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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