key

package
v0.1.4 Latest Latest
Warning

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

Go to latest
Published: Oct 27, 2019 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenerateKey

func GenerateKey(filePath string) (*wgtypes.Key, error)

func IsPrivateKeyNotFound

func IsPrivateKeyNotFound(err error) bool

func LoadPrivateKey

func LoadPrivateKey(filePath string) (*wgtypes.Key, error)

Types

type PrivateKeyNotFoundErr

type PrivateKeyNotFoundErr struct {
	// contains filtered or unexported fields
}

func (PrivateKeyNotFoundErr) Error

func (e PrivateKeyNotFoundErr) Error() string

Jump to

Keyboard shortcuts

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