netstatus

package
v1.43.3 Latest Latest
Warning

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

Go to latest
Published: Apr 29, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Notify

func Notify(c chan<- Change)

Notify sends a Change to c any time the network interfaces status change.

func Stop

func Stop(c chan<- Change)

Stop unsubscribes from network interfaces change notification.

Types

type Change

type Change string

func (Change) Changed added in v1.2.11

func (c Change) Changed() bool

func (Change) String added in v1.2.11

func (c Change) String() string

Jump to

Keyboard shortcuts

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