parser

package
v0.0.0-...-7e42b70 Latest Latest
Warning

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

Go to latest
Published: Sep 19, 2024 License: GPL-2.0, GPL-3.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var GEOIP_LOOKUPS = map[string]interface{}{
	"ipinfo_country":  ipInfoCountry,
	"ipinfo_asn":      ipInfoAsn,
	"ipinfo_city":     ipInfoLocation,
	"maxmind_country": maxMindCountry,
	"maxmind_asn":     maxMindAsn,
	"maxmind_city":    maxMindCity,
}
View Source
var GEOIP_LOOKUP_DEFAULT_ATTRIBUTES = map[string]string{
	"ipinfo_country":  "country",
	"ipinfo_asn":      "asn",
	"ipinfo_city":     "city",
	"maxmind_country": "country.iso_code",
	"maxmind_asn":     "asn",
	"maxmind_city":    "city.iso_code",
}

Functions

func Main

func Main()

Types

This section is empty.

Jump to

Keyboard shortcuts

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