ip

package
v0.0.0-...-e8acdfa Latest Latest
Warning

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

Go to latest
Published: Apr 16, 2018 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetLocal

func GetLocal() string

GetLocal returns the non loopback local IP of the host

func HostHasIP

func HostHasIP(ipStr string) bool

HostHasIP returns true if any of the networking interfaces on this device match the given ip address. In other words, it return true if the given ip belongs to the current machine

Types

This section is empty.

Jump to

Keyboard shortcuts

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