Versions in this module Expand all Collapse all v0 v0.0.7 Nov 19, 2022 Changes in this version + const INDEX_LEN + const REDIRECT_MODE_1 + const REDIRECT_MODE_2 + var UserAgent = "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/29.0.1541.0 Safari/537.36" + func Base64Decode(str string) (string, error) + func Base64Encode(str string) string + func ExternalIP() (net.IP, error) + func FetchFiles(client *http.Client, files []RawFile, header http.Header) error + func FetchFilesCurl(files []RawFile, curlOptions ...string) error + func GetOnline() ([]byte, error) + func HttpCall(client *http.Client, method, url string, header http.Header, body io.Reader) (io.ReadCloser, error) + func HttpGet(client *http.Client, url string, header http.Header) (io.ReadCloser, error) + func HttpGetBytes(client *http.Client, url string, header http.Header) ([]byte, error) + func HttpGetJSON(client *http.Client, url string, v interface{}) error + func HttpGetToFile(client *http.Client, url string, header http.Header, fileName string) error + func HttpPost(client *http.Client, url string, header http.Header, body []byte) (io.ReadCloser, error) + func HttpPostJSON(client *http.Client, url string, body, v interface{}) error + func UrlDecode(str string) (string, error) + func UrlEncode(str string) string + type NotFoundError struct + Message string + func (e NotFoundError) Error() string + type QQwry struct + Address string + Enc mahonia.Decoder + FileData []byte + Ip string + Ips string + Lat float64 + Lng float64 + NumIp int64 + Offset int64 + func NewQQwry(path_file string) (qqwry *QQwry) + func (q *QQwry) Find(ip string) string + func (q *QQwry) ReadData(num int, offset ...int64) (rs []byte) + func (q *QQwry) SetOffset(offset int64) + type RawFile interface + Data func() []byte + Name func() string + RawUrl func() string + SetData func([]byte) + type RemoteError struct + Err error + Host string + func (e *RemoteError) Error() string