wireguard

package
v0.0.0-...-1ac23cf Latest Latest
Warning

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

Go to latest
Published: Jun 2, 2021 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type WireGuard

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

func NewWireGuard

func NewWireGuard() *WireGuard

func (*WireGuard) Down

func (w *WireGuard) Down() error

func (*WireGuard) Info

func (w *WireGuard) Info() []byte

func (*WireGuard) PostDown

func (w *WireGuard) PostDown() error

func (*WireGuard) PostUp

func (w *WireGuard) PostUp() error

func (*WireGuard) PreDown

func (w *WireGuard) PreDown() error

func (*WireGuard) PreUp

func (w *WireGuard) PreUp() error

func (*WireGuard) RealInterface

func (w *WireGuard) RealInterface() (string, error)

func (*WireGuard) Transfer

func (w *WireGuard) Transfer() (int64, int64, error)

func (*WireGuard) Up

func (w *WireGuard) Up() error

func (*WireGuard) WithConfig

func (w *WireGuard) WithConfig(v *types.Config) *WireGuard

func (*WireGuard) WithConfigDir

func (w *WireGuard) WithConfigDir(v string) *WireGuard

func (*WireGuard) WithInfo

func (w *WireGuard) WithInfo(v []byte) *WireGuard

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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