geoip

package
v0.0.0-...-04ccfb0 Latest Latest
Warning

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

Go to latest
Published: May 3, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Database

type Database struct {
	// contains filtered or unexported fields
}
var DefaultDatabase *Database

func Open

func Open(path string) (*Database, error)

func (*Database) Close

func (d *Database) Close() error

func (*Database) IPString

func (d *Database) IPString(ipString string) (info *Info, ok bool)

type Info

type Info struct {
	CountryCode        string
	EnglishCountryName string
}

Jump to

Keyboard shortcuts

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