qqwry

package
v0.0.0-...-eb25627 Latest Latest
Warning

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

Go to latest
Published: Jan 13, 2022 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const (
	IdxLen = 7
	Mode1  = 0x01
	Mode2  = 0x02
)

Variables

This section is empty.

Functions

This section is empty.

Types

type QQwry

type QQwry struct {
	// contains filtered or unexported fields
}

func New

func New(filePath string) (qqwry QQwry, err error)

func (*QQwry) Count

func (q *QQwry) Count() int64

func (*QQwry) QueryIP

func (q *QQwry) QueryIP(ipv4 net.IP) (base string, ext string, err error)

func (*QQwry) QueryInfo

func (q *QQwry) QueryInfo(ipv4 string) (info string, err error)

func (*QQwry) QueryInt

func (q *QQwry) QueryInt(ipv4 uint32) (base string, ext string, err error)

func (*QQwry) QueryString

func (q *QQwry) QueryString(ipv4 string) (base string, ext string, err error)

func (*QQwry) Version

func (q *QQwry) Version() string

Jump to

Keyboard shortcuts

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