{"modulePath":"github.com/stacklok/toolhive","version":"v0.77.0","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package loopback\n\nPackage loopback recognises loopback hosts.\n\n## Functions\n\n```go\nfunc IsHost(host string) bool\n```\nIsHost reports whether host is a loopback hostname or IP address.\n\nRecognised forms: \"localhost\" (case-insensitive) and any loopback IP (127.0.0.0/8, ::1), each with or without a port, and IPv6 literals with or without brackets. url.Hostname() strips brackets, so callers passing a parsed hostname hand us the bare \"::1\" form.\n\n","path":"github.com/stacklok/toolhive/pkg/networking/loopback","name":"loopback","synopsis":"Package loopback recognises loopback hosts.","isRedistributable":true}
