geoipx

package
v3.17.0-beta.1 Latest Latest
Warning

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

Go to latest
Published: Feb 15, 2023 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Overview

Package geoipx contains code to use the embedded MaxMind-like databases.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LookupASN

func LookupASN(ip string) (asn uint, org string, err error)

LookupASN maps [ip] to an AS number and an AS organization name.

func LookupCC

func LookupCC(ip string) (cc string, err error)

LookupCC maps [ip] to a country code.

Types

This section is empty.

Jump to

Keyboard shortcuts

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