Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrNoIPAvailable = errors.New("no ip available")
ErrNoIPAvailable : Error if there is no ip left in the subnet
View Source
var ErrWrongSubnet = errors.New("wrong subnet for this ip address")
ErrWrongSubnet : Error if the subnet matches not the server
Functions ¶
This section is empty.
Types ¶
type Peer ¶
type Peer struct { PrivateKey wgtypes.Key PublicKey wgtypes.Key IPV4Address net.IP IPV6Address net.IP }
Peer : Wireguard Peer
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
Service : Service struct for wireguard
func (*Service) CreatePeer ¶
CreatePeer : Create a new wireguard device
Click to show internal directories.
Click to hide internal directories.