network

package
v0.0.0-...-850ae45 Latest Latest
Warning

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

Go to latest
Published: Sep 11, 2017 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsIPV4

func IsIPV4(ip string) bool

Types

type Interface

type Interface struct {
	HardwareAddress string
	IP              string
	Name            string
	Exists          bool
}

type Network

type Network struct{}

func (*Network) HasIPCollision

func (n *Network) HasIPCollision(ip string) (bool, error)

func (*Network) Interfaces

func (n *Network) Interfaces() (interfaces []*Interface, err error)

Jump to

Keyboard shortcuts

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