ipaddr

package
v1.4.1 Latest Latest
Warning

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

Go to latest
Published: Aug 18, 2022 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrorFile = errors.New("filename is nil")
View Source
var ErrorParse = errors.New("host or ip parsing error")

Functions

func HostIPv4 added in v1.3.1

func HostIPv4() (ips []string, err error)

func NetIPv4 added in v1.3.2

func NetIPv4() (ips []string, err error)

func ParseFile

func ParseFile(strFilename string) (hosts []string, err error)

func ParseIP

func ParseIP(ip string) (hosts []string)

Types

This section is empty.

Jump to

Keyboard shortcuts

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