ifacesrepository

package
v0.0.0-...-25be970 Latest Latest
Warning

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

Go to latest
Published: Sep 8, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package ifacesrepository provides access to host interfaces

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Ifaces

type Ifaces interface {
	// GetIPAddresses from host
	GetIPAddresses() ([]string, error)
	// LookupAddr name of an IP address
	LookupAddr(ip string) (string, error)
}

Ifaces is the interface to retrieve network information.

func NewIfacesNet

func NewIfacesNet() (Ifaces, error)

NewIfacesNet represents a net based implementation of Ifaces.

Jump to

Keyboard shortcuts

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