Versions in this module Expand all Collapse all v0 v0.4.0 Nov 7, 2026 Changes in this version + var ErrUnsupported = errors.New("endpoint: unsupported scheme") + func Dial(ctx context.Context, s string) (net.Conn, error) + func UnixPath(s string) string + func Validate(s string) error + type Endpoint struct + Host string + Path string + Port int + Scheme string + func Parse(s string) (Endpoint, error) + func (e Endpoint) Network() (network, address string) + func (e Endpoint) String() string + type Family string + const Inet4 + const Inet6 + const Unix + func ParseFamily(s string) (Family, error) + func (f Family) Scheme() string + type Policy struct + Family Family + Host string + PortMax int + PortMin int + func (p Policy) Ports() (lo, hi int) + func (p Policy) Validate() error v0.4.0-rc.1 Nov 6, 2026