geoip

package
v0.3.6 Latest Latest
Warning

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

Go to latest
Published: Mar 19, 2024 License: AGPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Instance

type Instance struct {
	// contains filtered or unexported fields
}

func NewGeoip

func NewGeoip(path string) (*Instance, error)

func (*Instance) GetCountry

func (instance *Instance) GetCountry(ip net.IP) (string, error)

func (*Instance) Running

func (instance *Instance) Running() bool

func (*Instance) Shutdown

func (instance *Instance) Shutdown() error

Jump to

Keyboard shortcuts

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