qqwry

package
v0.0.0-...-8296c84 Latest Latest
Warning

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

Go to latest
Published: Aug 8, 2019 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	INDEX_LEN       = 7
	REDIRECT_MODE_1 = 0x01
	REDIRECT_MODE_2 = 0x02
)

q := qqwry.NewQQwry("data/qqwry.dat") q.Find("103.30.50.128") log.Println(q.Country, q.City, q.Ip)

Variables

This section is empty.

Functions

This section is empty.

Types

type QQwry

type QQwry struct {
	Ip      string
	Country string
	City    string
	// contains filtered or unexported fields
}

@author yinheli

func NewQQwry

func NewQQwry(file string) (qqwry *QQwry)

func (*QQwry) Find

func (this *QQwry) Find(ip string)

Jump to

Keyboard shortcuts

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