Documentation ¶
Index ¶
- func Base64toKey(encoded []byte) ([]byte, error)
- func EnsurePrivateKey(keyPath string) ([]byte, error)
- func KeyToBase64(key []byte) []byte
- func Marshal(w io.Writer, x *pb.Configuration) error
- func MarshalHeader(w io.Writer, x *pb.Configuration) (int, error)
- func PublicKey(privateKey []byte) []byte
- func WGPubKey(privateKeySlice []byte) []byte
- func WgGenKey() []byte
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Base64toKey ¶
func EnsurePrivateKey ¶
func KeyToBase64 ¶
func MarshalHeader ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.