wireguard

package
v0.3.2 Latest Latest
Warning

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

Go to latest
Published: Dec 6, 2023 License: Apache-2.0 Imports: 11 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(cfg *types.Config) *WireGuard

func (*WireGuard) Down

func (s *WireGuard) Down() error

func (*WireGuard) Info

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

func (*WireGuard) IsUp

func (s *WireGuard) IsUp() bool

func (*WireGuard) PostDown

func (s *WireGuard) PostDown() error

func (*WireGuard) PostUp

func (s *WireGuard) PostUp() error

func (*WireGuard) PreDown

func (s *WireGuard) PreDown() error

func (*WireGuard) PreUp

func (s *WireGuard) PreUp() error

func (*WireGuard) Transfer

func (s *WireGuard) Transfer() (u int64, d int64, err error)

func (*WireGuard) Up

func (s *WireGuard) Up() error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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