Skip to content

Weborama/cidr

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

80 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

github.com/weborama/cidr

Godoc for weborama/cidr Go Report Card Go golangci-lint

This package provides converters of IP ranges to CIDR IP networks (both for IPv4 and IPv6).

Typical use case of this package is for converting IP range lists (geolocation, blacklists etc.) for storage in radix trees for fast lookup.

C implementation used for inspiration.