geoip

package
v0.0.0-...-2031ce5 Latest Latest
Warning

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

Go to latest
Published: May 8, 2020 License: AGPL-3.0, AGPL-3.0-or-later Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CountyFromReq

func CountyFromReq(r *http.Request) (code string)

Get request's country.

func Load

func Load(dir string) error

NOTE(Kagami): We don't require presence of GetIP database files for a moment so in case of any loading errors we will just return empty lookup results.

Types

This section is empty.

Jump to

Keyboard shortcuts

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