maxmind

package
v0.0.5 Latest Latest
Warning

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

Go to latest
Published: Jan 22, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Service

type Service struct {
}

Service implement maxmind geoip service

func New

func New() *Service

New creates a new service

func (*Service) CountryAndCity

func (s *Service) CountryAndCity(_ http.Header, ipString string) (string, string, error)

CountryAndCity return country and city by http headers and remote ip address nolint: revive

Jump to

Keyboard shortcuts

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