netlink

package
v0.0.0-...-02ba5bb Latest Latest
Warning

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

Go to latest
Published: Aug 16, 2023 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type LinkEventHandler

type LinkEventHandler struct {
	Logger log.Logger
	// contains filtered or unexported fields
}

func (*LinkEventHandler) Start

func (l *LinkEventHandler) Start()

func (*LinkEventHandler) StopHandler

func (l *LinkEventHandler) StopHandler()

func (*LinkEventHandler) Subscribe

func (l *LinkEventHandler) Subscribe(eventChannel chan<- netlink.LinkUpdate, ifNames ...string) error

func (*LinkEventHandler) Unsubscribe

func (l *LinkEventHandler) Unsubscribe(ifNames ...string)

Jump to

Keyboard shortcuts

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