json

package
v0.14.2 Latest Latest
Warning

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

Go to latest
Published: Nov 22, 2015 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	InvalidPortRange = errors.New("Invalid port range.")
)

Functions

This section is empty.

Types

type NetworkList

type NetworkList []string

func NewNetworkList

func NewNetworkList(networks []string) NetworkList

func (*NetworkList) HasNetwork

func (this *NetworkList) HasNetwork(network v2net.Network) bool

func (*NetworkList) UnmarshalJSON

func (this *NetworkList) UnmarshalJSON(data []byte) error

type PortRange

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

func (*PortRange) From

func (this *PortRange) From() uint16

func (*PortRange) To

func (this *PortRange) To() uint16

func (*PortRange) UnmarshalJSON

func (this *PortRange) UnmarshalJSON(data []byte) error

Jump to

Keyboard shortcuts

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