wireguard

package
v0.0.0-...-349a466 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 29, 2024 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Base64toKey

func Base64toKey(encoded []byte) ([]byte, error)

func EnsurePrivateKey

func EnsurePrivateKey(keyPath string) ([]byte, error)

func KeyToBase64

func KeyToBase64(key []byte) []byte

func Marshal

func Marshal(w io.Writer, x *pb.Configuration) error

func MarshalHeader

func MarshalHeader(w io.Writer, x *pb.Configuration) (int, error)

func PublicKey

func PublicKey(privateKey []byte) []byte

func WGPubKey

func WGPubKey(privateKeySlice []byte) []byte

func WgGenKey

func WgGenKey() []byte

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL