Documentation ¶
Overview ¶
Package wgtest contains shared testing utilities for package wgctrl.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MustHexKey ¶
MustHexKey decodes a hex string s as a key or panics.
func MustHexPubKey ¶
MustHexKey decodes a hex string s as a key or panics.
func MustPresharedKey ¶
MustPresharedKey generates a preshared key or panics.
func MustPrivateKey ¶
MustPrivateKey generates a private key or panics.
func MustPublicKey ¶
MustPublicKey generates a public key or panics.
func MustUDPAddr ¶
MustUDPAddr parses s as a UDP address or panics.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.