networkifaces

package
v0.3.1 Latest Latest
Warning

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

Go to latest
Published: Nov 6, 2024 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IPv4Address

func IPv4Address(ifaceName string) (net.IP, error)

Types

type NetworkIfaceSync

type NetworkIfaceSync struct {
	Interfaces    []string
	DefaultAPSSID string
	Store         storage.Interface
	// contains filtered or unexported fields
}

NetworkIfaceSync implements the NetworkInterface resource synchronization.

func (*NetworkIfaceSync) Start

func (s *NetworkIfaceSync) Start() error

Start starts the network status synchronization asynchronously.

func (*NetworkIfaceSync) Stop

func (s *NetworkIfaceSync) Stop() error

Stop stops the network status synchronization.

Jump to

Keyboard shortcuts

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