network_iface

package
v0.10.1 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetDefaultInterfaceName

func GetDefaultInterfaceName() string

func StartMonitor added in v0.8.0

func StartMonitor() error

func StopMonitor added in v0.8.0

func StopMonitor() error

Types

type ErrorHandler

type ErrorHandler struct {
}

func (ErrorHandler) NewError

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

type Handler

type Handler struct {
	Monitor tun.DefaultInterfaceMonitor
}

Jump to

Keyboard shortcuts

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