netx

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Oct 10, 2026 License: MIT Imports: 2 Imported by: 0

Documentation

Overview

Package netx extends the standard net package with network address helpers.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsDNSHostname

func IsDNSHostname(host string) bool

IsDNSHostname reports whether host is an ASCII DNS hostname rather than an IP literal. A single trailing dot and case-insensitive letters are accepted. Local names such as localhost are valid here; callers decide whether to trust them.

Types

This section is empty.

Jump to

Keyboard shortcuts

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