network_iface

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Feb 23, 2023 License: GPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetDefaultInterfaceName added in v0.2.0

func GetDefaultInterfaceName() string

func Update

func Update(name string) error

Types

type ErrorHandler

type ErrorHandler struct {
}

func (ErrorHandler) NewError

func (e ErrorHandler) NewError(ctx context.Context, err error)

type Handler

type Handler struct {
	Monitor tun.DefaultInterfaceMonitor
}

func New

func New() (*Handler, error)

Jump to

Keyboard shortcuts

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