Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( IntfName string Client *wgctrl.Client )
Functions ¶
func GeneratePeerConfig ¶
func GeneratePeerConfig(peer wgtypes.Peer) wgtypes.PeerConfig
GeneratePeerConfig generates a PeerConfig from a Peer.
func GetWgLocalIP ¶
GetWgLocalIP returns the local IP of WireGuard interface.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.