Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GeneratePeerIni ¶
GeneratePeerIni generates an INI-formatted string for a single Peer configuration
Types ¶
type Interface ¶
type Interface struct { PublicKey string PrivateKey string Address string Endpoint string ListenPort string Mask string }
Define the structure for the configuration
type WireGuardConfig ¶
func ReadWireGuardConfig ¶
func ReadWireGuardConfig(filename string) (*WireGuardConfig, error)
Click to show internal directories.
Click to hide internal directories.