ip_region

package
v0.0.0-...-a78f517 Latest Latest
Warning

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

Go to latest
Published: Sep 18, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type IPRegion

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

func NewIPRegion

func NewIPRegion(conf IPRegionConf) *IPRegion

func (*IPRegion) IP2Region

func (ipRegion *IPRegion) IP2Region(ip string) string

type IPRegionConf

type IPRegionConf struct {
	config.IPRegionConf
	CacheEnabled bool
}

Jump to

Keyboard shortcuts

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