qqwry-go

module
v0.0.0-...-b1c4608 Latest Latest
Warning

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

Go to latest
Published: Jan 18, 2020 License: MIT

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

Path Synopsis

Jump to

Keyboard shortcuts

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