wg

package
v1.3.1 Latest Latest
Warning

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

Go to latest
Published: Jul 29, 2022 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrValueParse               = fmt.Errorf("value parse failed")
	ErrPersistentKeepaliveRange = fmt.Errorf("persistent keepalive interval is neither 0/off nor 1-65535")
)

Functions

This section is empty.

Types

type Exec

type Exec struct {
	exec.Executor
}

func New

func New(rawCmd string) *Exec

func (*Exec) Dump

func (exe *Exec) Dump() ([]*wgtypes.Device, error)

func (*Exec) Verify

func (exe *Exec) Verify() bool

func (*Exec) Version

func (exe *Exec) Version() (string, error)

Jump to

Keyboard shortcuts

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