Documentation
¶
Index ¶
- func ConfigureInterface(wgInterface Interface) ([]byte, error)
- func ConfigurePeer(wgInterfaceName string, peer map[string]string) ([]byte, error)
- func ExtractPubKey(privateKey []byte) ([]byte, error)
- func Genkey() ([]byte, error)
- func GetPeers(wgInterfaceName string) (map[string]map[string]string, error)
- func IsWgInterfaceWellConfigured(wgInterface Interface) bool
- func RemovePeer(wgInterfaceName string, pubKey string) ([]byte, error)
- type Interface
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConfigureInterface ¶
func ConfigurePeer ¶
func ExtractPubKey ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.