Documentation ¶
Overview ¶
Package qqwry is a qqwry.dat reader, fork from https://github.com/tonywubo/qqwry TODO: refactor and release as a package
Index ¶
Constants ¶
View Source
const ( // KeyURL is url to download key KeyURL = "http://update.cz88.net/ip/copywrite.rar" // DbURL is url to download db DbURL = "http://update.cz88.net/ip/qqwry.rar" )
Variables ¶
This section is empty.
Functions ¶
func Download ¶
func Download(key uint32) (int64, io.ReadCloser, error)
Download create a io.ReadCloser from db url with provided key
func GetDownloadKey ¶
GetDownloadKey reads newest key from key url
Types ¶
Click to show internal directories.
Click to hide internal directories.