iputil

package
v1.17.0-rc.477 Latest Latest
Warning

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

Go to latest
Published: Jun 10, 2026 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Package iputil provides IP address parsing utilities.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ParsePrefix

func ParsePrefix(s string) (netip.Prefix, error)

ParsePrefix parses s as a CIDR prefix. Bare IP addresses without a prefix length are treated as host addresses (/32 or /128).

Types

This section is empty.

Jump to

Keyboard shortcuts

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