Versions in this module Expand all Collapse all v1 v1.0.3 Feb 1, 2024 Changes in this version type Port + Addr func(string) string v1.0.2 Feb 1, 2024 Changes in this version + type PortInput interface v1.0.1 Jan 31, 2024 Changes in this version + const Dynamic + const Invalid + const MaxDynamic + const MaxRegistered + const MaxSystem + const MinDynamic + const MinRegistered + const MinSystem + const Registered + const System + var All = rangeOf(System, Dynamic) + var NonDynamic = rangeOf(System, Registered) + var NonSystem = rangeOf(Registered, Dynamic) + type Port interface + IsSet func() bool + IsValid func() bool + IsValidForType func(portType) bool + IsValidForTypeRange func(*portTypeRange) bool + Uint64 func() uint64 + func NewPort(s string) (Port, error) + func NewPortForType(s string, pt portType) (Port, error) + func NewPortForTypeRange(s string, ptr *portTypeRange) (p Port, err error) + func ParseAddress(s string) (string, Port, error) + func ParseAddressForPortType(s string, pt portType) (string, Port, error) + func ParseAddressForPortTypeRange(s string, ptr *portTypeRange) (address string, p Port, err error)