ip2x

module
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Nov 19, 2022 License: MIT

README

ip2x

Go Reference

Module ip2x is an idiomatic, efficient, and robust library for reading IP2Location databases.

Compared to github.com/ip2location/ip2location-go/v9, this library:

  • Is written in idiomatic Go.
  • Is faster and has fewer allocations.
  • Supports directly querying a net/netip.Addr.
  • Supports querying arbitrary selections of fields.
  • Allows checking which fields are available in a database.
  • Handles all errors correctly.
  • Uses errors and zero values correctly instead of using arbitrary strings in field values.

Directories

Path Synopsis
Package ip2location reads IP2Location databases.
Package ip2location reads IP2Location databases.
test module

Jump to

Keyboard shortcuts

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