module
Version:
v0.0.0-...-b1c4608
Opens a new window with list of versions in this module.
Published: Jan 18, 2020
License: MIT
Opens a new window with license information.
README
¶
QQWRY-go
QQWRY 纯真 IP 库 golang 版
使用
go get github.com/kasonpasser/qqwry-go
import (
"github.com/kasonpasser/qqwry-go"
"fmt"
)
func main() {
ipinfo := qqwry.IpData.Find("223.247.9.0")
fmt.Printf("IP:%v, Localtion:%v, Owner:%v", ipinfo.IP, ipinfo.Loc, ipinfo.Owner)
// IP:223.247.9.0, Localtion:安徽省池州市青阳县, Owner:电信
}
Directories
¶
Click to show internal directories.
Click to hide internal directories.