network_iface

package
v1.21.1 Latest Latest
Warning

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

Go to latest
Published: Sep 8, 2024 License: GPL-3.0 Imports: 10 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