Ecosyste.ms: Packages

An open API service providing package, version and dependency metadata of many open source software ecosystems and registries.

Top 3.7% on proxy.golang.org
Top 0.1% dependent packages on proxy.golang.org
Top 0.2% dependent repos on proxy.golang.org
Top 8.2% forks on proxy.golang.org
Top 0.3% docker downloads on proxy.golang.org

proxy.golang.org : github.com/libp2p/go-cidranger

Package cidranger provides utility to store CIDR blocks and perform ip inclusion tests against it. To create a new instance of the path-compressed trie: To insert or remove an entry (any object that satisfies the RangerEntry interface): If you desire for any value to be attached to the entry, simply create custom struct that satisfies the RangerEntry interface: To test whether an IP is contained in the constructed networks ranger: To get a list of CIDR blocks in constructed ranger that contains IP: To get a list of all IPv4/IPv6 rangers respectively:

Registry - Source - Documentation - JSON
purl: pkg:golang/github.com/libp2p/go-cidranger
License: MIT
Latest release: almost 4 years ago
First release: almost 4 years ago
Namespace: github.com/libp2p
Dependent packages: 1,167
Dependent repositories: 1,610
Stars: 11 on GitHub
Forks: 5 on GitHub
Docker dependents: 186
Docker downloads: 221,223,599
See more repository details: repos.ecosyste.ms
Last synced: 5 days ago

    Loading...
    Readme
    Loading...