network

package
v0.0.0-...-33bca21 Latest Latest
Warning

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

Go to latest
Published: May 7, 2015 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Network

type Network struct {
	// contains filtered or unexported fields
}

func New

func New(ipNet *net.IPNet) *Network

func (*Network) CIDRSuffix

func (n *Network) CIDRSuffix() int

func (Network) ContainerIP

func (n Network) ContainerIP() net.IP

func (Network) HostIP

func (n Network) HostIP() net.IP

func (Network) IP

func (n Network) IP() net.IP

func (Network) IPNet

func (n Network) IPNet() *net.IPNet

func (Network) MarshalJSON

func (n Network) MarshalJSON() ([]byte, error)

func (Network) String

func (n Network) String() string

func (*Network) UnmarshalJSON

func (n *Network) UnmarshalJSON(data []byte) error

Jump to

Keyboard shortcuts

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