ipinfo

package
v0.7.1 Latest Latest
Warning

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

Go to latest
Published: Jun 1, 2023 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Area

func Area(ip string) string

func Init

func Init(config Config)

Types

type Config

type Config struct {
	Database      string
	GeoLicenseKey string `yaml:"geo_license_key"`
}

type Database

type Database interface {
	Area(string) string
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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