ipaddr

package
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: Jul 27, 2019 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 Parser

type Parser struct {
	Addresses    []string
	AvoidBuggy   bool
	AvoidGateway bool
}

func NewParser

func NewParser(addrs []string, buggy, gateway bool) *Parser

func (*Parser) FilterIPs

func (p *Parser) FilterIPs(filters ...[]string) ([]string, error)

func (*Parser) IPs

func (p *Parser) IPs() ([]string, error)

Jump to

Keyboard shortcuts

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