Versions in this module Expand all Collapse all v0 v0.8.1 Feb 18, 2014 Changes in this version + const PortSpecTemplate + const PortSpecTemplateFormat + func ParsePort(rawPort string) (int, error) + func ParsePortSpecs(ports []string) (map[Port]struct{}, map[Port][]PortBinding, error) + func Sort(ports []Port, predicate func(i, j Port) bool) + func SplitProtoPort(rawPort string) (string, string) + type Port string + func NewPort(proto, port string) Port + func (p Port) Int() int + func (p Port) Port() string + func (p Port) Proto() string + type PortBinding struct + HostIp string + HostPort string + type PortMap map[Port][]PortBinding + type PortSet map[Port]struct