ipip

package
v0.0.0-...-c5d1e48 Latest Latest
Warning

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

Go to latest
Published: Aug 13, 2023 License: AGPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const CNListURL = "https://github.com/17mon/china_ip_list/raw/master/china_ip_list.txt"

Variables

View Source
var ChinaIPList = []string{}/* 6069 elements not displayed */

ChinaIPList is from https://github.com/17mon/china_ip_list/blob/master/china_ip_list.txt

Functions

func GetLocation

func GetLocation(ctx context.Context, ip string) []string

func IsChinaIPLookupTable

func IsChinaIPLookupTable(ip string) bool

Types

This section is empty.

Jump to

Keyboard shortcuts

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