package
0.1.12
Repository: https://github.com/coder/wgtunnel.git
Documentation: pkg.go.dev

# Functions

FromNoisePrivateKey converts a device.NoisePrivateKey to a Key.
FromNoisePublicKey converts a device.NoisePublicKey to a Key.
GenerateWireguardPrivateKey generates a new wireguard private key using secure cryptography.
New creates a tunneld client for the provided URL.
ParsePrivateKey parses a private key generated using key.String().
ParsePublicKey parses a public key generated using key.String().

# Constants

TunnelPort is the port in the virtual wireguard network stack that the listener is listening on.
TunnelVersion1 is the "old style" tunnel URL.
TunnelVersion2 is the "new style" tunnel URL.
No description provided by the author

# Structs

Client provides HTTP methods for the tunneld API and a full wireguard tunnel client implementation.
No description provided by the author
No description provided by the author
Error represents an unaccepted or invalid request to the API.
Key is a Wireguard private or public key.
No description provided by the author
No description provided by the author
No description provided by the author

# Type aliases

TunnelVersion is the version of the tunnel URL specification.