ipaddr

package
v0.27.0 Latest Latest
Warning

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

Go to latest
Published: Jul 17, 2025 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Package ipaddr provides functions to manipulate IPs and CIDRs.

It provides the following functions:

  • ipcontains(prefix, ip)
  • ipoverlaps(prefix1, prefix2)
  • ipfamily(ip/prefix)
  • iphost(ip/prefix)
  • ipmasklen(prefix)
  • ipnetwork(prefix)

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Register

func Register(db *sqlite3.Conn) error

Register IP/CIDR functions for a database connection.

Types

This section is empty.

Jump to

Keyboard shortcuts

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