Versions in this module Expand all Collapse all v1 v1.0.0 May 11, 2015 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