ip

package
v1.1.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Info

type Info struct {
	IP      string
	IsV4    bool
	IsV6    bool
	Private bool
}

Info provides metadata about an IP address.

func Parse

func Parse(s string) (*Info, error)

Parse extracts Info from a raw string.

Jump to

Keyboard shortcuts

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