qqwry

package
v1.2.2 Latest Latest
Warning

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

Go to latest
Published: May 10, 2023 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var IpCommonDictionary []byte

Functions

This section is empty.

Types

type QQwry

type QQwry struct {
	Data   []byte
	Offset int64
}

func NewQQwry

func NewQQwry() (*QQwry, error)

func (*QQwry) Find

func (q *QQwry) Find(ip string) (res ResultQQwry)

Find ip地址查询对应归属地信息

type ResultQQwry

type ResultQQwry struct {
	IP   string `json:"ip"`
	Area string `json:"area"`
}

Jump to

Keyboard shortcuts

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