//
pkg.gl
Category
github.com/threefoldtech/zosbase
pkg
network
wireguard
package
0.1.2
Repository:
https://github.com/threefoldtech/zosbase.git
Documentation:
pkg.go.dev
Overview
Versions
1
Dependencies
11
Dependents
3
Files
204 SLOC
#
Functions
GenerateKey
GenerateKey generates a new private key.
GetByName
GetByName return a wireguard object by its name.
LoadKey
LoadKey tries to read a private key from disk.
New
New create a new wireguard interface.
#
Structs
Peer
Peer represent a peer in a wireguard configuration.
Wireguard
Wireguard is a netlink.Link of type wireguard.