Documentation ¶
Index ¶
- func AssumeWireguardPeerIP(wgInterfaceAddress string, allocated []string) (string, error)
- func ExtractTagMap(tag string, st interface{}) (map[string]string, error)
- func GenerateSshKeyPair(sshPrivateKeyPath, sshPublicKeyPath string) error
- func GenerateWireguardKeyPair() (privateKey, publicKey string, err error)
- func IsStrInSlice(arr []string, val string) bool
- func MergeStrMaps(fromMap strmap, toMap strmap) strmap
- func ReadBinaryFile(filename string, v interface{}) error
- func StrCompose(template string, args map[string]string) string
- func WriteBinaryFile(filename string, v interface{}) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AssumeWireguardPeerIP ¶
func GenerateSshKeyPair ¶
func IsStrInSlice ¶
func MergeStrMaps ¶
func MergeStrMaps(fromMap strmap, toMap strmap) strmap
func ReadBinaryFile ¶
func WriteBinaryFile ¶
Types ¶
This section is empty.
Source Files ¶
Click to show internal directories.
Click to hide internal directories.