Ecosyste.ms: Packages

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

Top 1.1% on proxy.golang.org
Top 0.2% dependent packages on proxy.golang.org
Top 0.3% dependent repos on proxy.golang.org
Top 2.6% forks on proxy.golang.org
Top 0.2% docker downloads on proxy.golang.org

proxy.golang.org : github.com/yl2chen/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/yl2chen/cidranger
Keywords: cidr, ip, network-analysis
License: MIT
Latest release: over 3 years ago
First release: over 4 years ago
Namespace: github.com/yl2chen
Dependent packages: 464
Dependent repositories: 830
Stars: 813 on GitHub
Forks: 96 on GitHub
Docker dependents: 267
Docker downloads: 359,764,194
See more repository details: repos.ecosyste.ms
Last synced: 6 days ago

    Loading...
    Readme
    Loading...