netaddr

package
v0.0.0-...-dbc03d7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 5, 2026 License: BSD-2-Clause Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DefaultScheme

func DefaultScheme(port int) string

func DialHostPort

func DialHostPort(host string, port int) string

func Host

func Host(host string) string

func IsIPv6

func IsIPv6(host string) bool

func IsPlaintextWebPort

func IsPlaintextWebPort(port int) bool

func StripZone

func StripZone(host string) string

func URL

func URL(scheme, host string, port int, path string) string

func URLAuthority

func URLAuthority(hostPort string) string

func URLHost

func URLHost(host string) string

func URLHostPort

func URLHostPort(host string, port int) string

func Zone

func Zone(host string) string

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL