geoip

package
v0.0.0-...-d417536 Latest Latest
Warning

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

Go to latest
Published: Feb 3, 2024 License: AGPL-3.0, AGPL-3.0-or-later Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var CountryHeader string

CountryHeader is HTTP header to look country code in.

Functions

func CountryFromReq

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

CountryFromReq returns country code for the given request.

Types

This section is empty.

Jump to

Keyboard shortcuts

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