wireguard

package
v0.4.2 Latest Latest
Warning

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

Go to latest
Published: Apr 2, 2024 License: Apache-2.0 Imports: 23 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 = 5 * time.Second

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

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