go

module
v0.0.9-alpha Latest Latest
Warning

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

Go to latest
Published: Apr 21, 2024 License: Apache-2.0

README

ALL CODE IN ALPHA STATE

IPFreely.uk

IP address manipulation library written in Go. This library treats IP addresses as generic unsigned integers capable of arithmetic and bitwise operations.

Packages

Add an import statement to go.mod to utilise.

Package Purpose
import github.com/ipfreely-uk/go/ip Core IP address types
import github.com/ipfreely-uk/go/ip/compare Generic comparison types and functions
import github.com/ipfreely-uk/go/ip/network IP address collection & iteration types
import github.com/ipfreely-uk/go/ip/network/cidr CIDR notation functions
import github.com/ipfreely-uk/go/ip/subnet CIDR subnet functions

Versus Standard Library

Selective comparison with standard library types in net and netip.

TODO

Continuous Integration

Go Go Reference

Directories

Path Synopsis
ip
IP addresses as numeric types.
IP addresses as numeric types.
compare
Compare ordered values
Compare ordered values
network
Network ranges and IP address sets.
Network ranges and IP address sets.
network/cidr
RFC-4632 Classless Inter-domain Routing notation handling https://www.rfc-editor.org/rfc/rfc4632
RFC-4632 Classless Inter-domain Routing notation handling https://www.rfc-editor.org/rfc/rfc4632
subnet
Functions for working with subnets
Functions for working with subnets

Jump to

Keyboard shortcuts

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