netutil

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Sep 27, 2026 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HostFromAddr

func HostFromAddr(addr string) (string, error)

Types

type IPv6

type IPv6 struct {
	IP netip.Addr
}

func ToIPv6

func ToIPv6(addr netip.Addr) IPv6

func (IPv6) String

func (ip IPv6) String() string

Jump to

Keyboard shortcuts

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