Versions in this module Expand all Collapse all v2 v2.1.1 Oct 6, 2026 v2.1.0 Oct 6, 2026 Changes in this version + func DetectIPFamilies() (bool, bool) + func IsLoopbackHost(host string) bool + func IsUnspecifiedHost(host string) bool + func NormalizeHostInput(raw string) (string, error) + func ResolveAdaptiveAnyHost() string + func ResolveAdaptiveLoopbackHost() string + func SelectAdaptiveAnyHost(hasIPv4, hasIPv6 bool) string + func SelectAdaptiveLoopbackHost(hasIPv4, hasIPv6 bool) string + type DefaultMode int + const DefaultAny + const DefaultLoopback + type OpenResult struct + BindHosts []string + Listeners []net.Listener + Port string + ProbeHost string + func OpenPlan(plan Plan, port string) (OpenResult, error) + type Plan struct + ProbeHost string + func BuildPlan(raw string, defaultMode DefaultMode) (Plan, error) Other modules containing this package github.com/xibodev/compa