Versions in this module Expand all Collapse all v0 v0.23.0 May 8, 2026 Changes in this version + const AllowDangerousUnauthenticatedNetworkFlag + const AllowDangerousUnauthenticatedNetworkFlagHelp + var ErrDisallowedPublicBind = errors.New("refusing to expose unauthenticated server on non-loopback network bind") + func ParseListenHost(address string) (host string, isUnix bool, err error) + func RestrictionApplies(insecure, withoutPassword, allowDangerousNetwork bool) bool + func ValidateListenAddressFlag(address string) error + func ValidateListenAddressIfRestricted(insecure, withoutPassword, allowDangerousNetwork bool, address string) error + func ValidateListenerAddr(addr net.Addr) error + func ValidateListenerAddrIfRestricted(insecure, withoutPassword, allowDangerousNetwork bool, addr net.Addr) error