bine/torutil/geoipembed/bindata.go

102 lines
5.3 MiB
Go
Raw Permalink Normal View History

package geoipembed
import (
"bytes"
"compress/gzip"
"fmt"
"io"
"os"
"time"
)
func bindataRead(data []byte, name string) ([]byte, error) {
gz, err := gzip.NewReader(bytes.NewBuffer(data))
if err != nil {
return nil, fmt.Errorf("Read %q: %v", name, err)
}
var buf bytes.Buffer
_, err = io.Copy(&buf, gz)
clErr := gz.Close()
if err != nil {
return nil, fmt.Errorf("Read %q: %v", name, err)
}
if clErr != nil {
return nil, err
}
return buf.Bytes(), nil
}
type asset struct {
bytes []byte
info os.FileInfo
}
type bindataFileInfo struct {
name string
size int64
mode os.FileMode
modTime time.Time
}
func (fi bindataFileInfo) Name() string {
return fi.name
}
func (fi bindataFileInfo) Size() int64 {
return fi.size
}
func (fi bindataFileInfo) Mode() os.FileMode {
return fi.mode
}
func (fi bindataFileInfo) ModTime() time.Time {
return fi.modTime
}
func (fi bindataFileInfo) IsDir() bool {
return false
}
func (fi bindataFileInfo) Sys() interface{} {
return nil
}
var _geoip = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\x7c\xbd\x4b\x93\x5e\x37\x92\xa6\xb9\x3f\xbf\x42\x66\xbd\x3d\x5d\x75\x00\xb8\x03\xee\xb3\x0b\x52\x14\x19\xe2\x45\x4c\x06\x29\xa5\xb4\xcb\xea\x4c\xab\x2e\xb3\xce\x8b\x55\xa9\xa6\xa7\xfa\xd7\x8f\xf9\xfb\xba\xe3\x3b\x8b\xb1\x59\x84\xd9\x03\x0f\xc7\xf5\x03\x1c\xd7\x03\xfc\xb7\xef\x3e\xfc\xe9\x3f\x7e\xff\xee\x3f\xff\xf1\xe7\x3f\xfd\xfe\x97\x3f\x7f\xf7\x2f\x7f\xfa\x8f\xbf\xfc\xf9\xbb\xbf\xff\xed\xbb\x97\xbf\xfc\xe3\xf7\xbf\xfc\xf5\x5f\xfe\xf2\xef\xdf\xcd\xef\xfa\xd5\xec\xbb\x8f\x7f\xfa\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\x91\xcd\x6f\x2f\x47\x72\x24\xc9\xa5\x3d\x34\x83\xa1\xb9\x86\xf5\x91\x61\x06\xcb\xd9\xd6\x35\x22\xf3\xd0\x04\xcf\x8b\xc2\xd9\x14\x89\x27\xcf\x10\xae\xde\xfa\x4a\xcd\x60\x3b\xdb\x6a\x97\x98\x2b\xc2\x24\x87\x66\x5b\x97\x8c\x86\x1c\x91\xfb\xd9\xd6\xb8\x9a\x5e\xe3\x7c\x0e\xef\xe0\x88\x7d\xcc\x08\x9f\x61\x06\xc7\xaf\xb9\x64\x74\x5d\x7a\x7e\xfc\xf5\x48\x9e\x10\x6a\x15\x1d\x39\x85\xc3\x59\x43\xc8\x11\x91\x4c\x1d\x32\x52\x33\x38\x22\x12\xb7\xd6\xf8\xc3\x91\x43\x53\xe7\x98\xb2\xce\xf7\x5f\x8e\xe4\xc8\x91\x75\x5d\xce\x6a\x43\xee\x67\xb3\xcb\xa2\x8e\x40\x93\x3c\xcf\x66\x4d\x47\xd4\xcf\x08\x93\x1c\x9a\xbd\xf9\x95\x15\x8c\x6c\x67\xb3\xa1\xd7\xb5\x1c\x79\x07\xdb\x75\x36\xb3\x25\x63\xb2\x3c\xc9\xa1\xe9\xd7\x8a\x6c\x46\xde\xc9\x11\x91\xf7\x11\x35\xe4\xe5\xed\x41\x8e\x1a\x62\xde\xe5\x1a\xed\x7c\xf7\xfe\x48\xee\x14\xa2\xda\xfc\x72\x24\x1b\x85\xcb\x7d\x6b\xda\x45\xef\x1a\x35\x24\x35\x15\x35\x24\x40\xe7\x2a\x4d\x55\x26\xa9\xcf\x48\x7c\xc6\x3e\x99\x78\xef\xb3\x5f\x3b\xa2\xd9\xaf\xd4\x1c\x43\xb7\xe6\xc8\xc4\x4f\x99\x63\x6b\x4a\x34\x84\x00\xf5\xb6\x35\xd5\x99\xf8\xb9\x9a\x6f\xcd\x95\xd9\x5c\x51\x15\x53\x73\xa1\x2a\x9a\x77\x9f\x8f\x30\x7d\x32\xcc\xd1\x56\x6b\xfc\x8d\xc0\x08\x73\x8c\xa5\x6c\x5c\xe0\x89\x30\x87\xda\xb5\xd0\x64\xc8\x48\xfc\x70\xbf\x46\xe6\x3d\x58\xce\xf8\xf9\x54\x06\xbd\x83\xa3\x7e\x16\xc4\x0f\x47\x6e\x67\x8b\xb6\xac\x51\xc1\x7e\x39\x92\xfb\xd9\xbc\x5f\xfd\x12\x96\x27\xd9\x42\x38\x97\xda\x38\x3f\xbf\x3b\x92\x23\xa2\xe1\x36\x55\x51\x43\xc8\xf3\x6c\xbe\x58\x9e\x51\xbd\xc9\x10\x7a\xb3\xc5\xfa\x49\x8e\x88\xec\x5a\x7d\x74\x54\x45\xf2\x38\x37\x40\x13\x1c\x11\x79\xef\x2e\x34\x02\x64\x39\xa3\xd7\xd0\xcb\x50\x15\x93\xed\xec\x97\xc8\xea\xa3\x9d\x3f\x87\x10\xdc\xcf\x7e\xf9\x6a\x51\x15\xa1\x19\xdc\xaf\xb3\xb7\x76\xf5\xf8\x35\xdf\xbd\x3f\x92\xfb\xd9\x5b\x1f\x23\x7e\xa3\x1f\x3f\x1f\xc9\x72\xf6\x26\x8e\x92\x0f\xef\x64\x3b\x7b\x14\xcc\xe5\x0a\x4d\xf2\x3c\xfb\xb8\xa6\x4d\x66\x33\xb9\x9f\x5d\x5a\x5b\x9d\x0d\x36\xd9\xce\x2e\x63\x79\x18\x81\xf0\x4e\x0e\xcd\x29\x4d\x69\x2e\x92\xe7\xd9\x57\x9f\xdd\x17\xca\x33\x79\x9e\xdd\x46\x6b\xaa\xf8\xe1\x92\xfb\xd9\x4d\xa4\xcf\x3e\x10\x11\x59\xce\x1e\xbd\x85\xf7\x05\xef\x64\x0b\xe1\x1a\x93\x06\x30\x39\xc2\xf4\x39\x9d\x5d\x4f\x72\x3f\xbb\x5f\xbe\xa2\x43\x79\xfe\x74\x24\xcb\xd9\xdd\x4c\xa4\x31\x9d\xe4\x79\x76\x77\x71\xcf\x24\x91\xfb\x39\xae\xab\xa9\x18\xf2\x9e\x6c\xe7\xb8\xe4\xb2\x75\xe1\x27\x4e\x96\x73\x0c\x55\x09\xf3\x1b\x9a\xe4\x7e\x0e\x99\x17\x3a\xa9\x1f\xbe\x1c\xc1\xa2\x22\x10\xc2\x
func geoipBytes() ([]byte, error) {
return bindataRead(
_geoip,
"geoip",
)
}
func geoip() (*asset, error) {
bytes, err := geoipBytes()
if err != nil {
return nil, err
}
info := bindataFileInfo{name: "geoip", size: 3726019, mode: os.FileMode(438), modTime: time.Unix(1537539535, 0)}
a := &asset{bytes: bytes, info: info}
return a, nil
}
var _geoip6 = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\x8c\xbd\x49\xd3\x23\x47\x92\x24\x7a\xaf\x5f\x41\x91\xb9\xd6\x74\x23\x7c\x8d\xc0\x2d\x93\x6b\x56\x26\x59\x29\x4c\x92\xf5\xa6\x6e\xb1\xa1\xa7\x45\xa6\x16\x99\x66\xbf\x79\x3d\xbf\xfe\x09\x80\x0f\x70\x53\x05\xa0\x6e\x97\x92\xc4\x57\x61\x34\x5f\x4c\xdd\xcc\xdc\x5d\xdd\xfe\xdb\x57\x9f\xe6\xff\xf8\xfd\xab\xff\xfc\xe7\x36\xff\xbe\x6f\x5f\x2d\xf3\x7f\xec\xdb\x57\xff\xf8\xfb\x57\x5f\xf6\x7f\xfe\xbe\xff\x6d\xd9\xff\xf7\x57\xe5\xab\x70\x18\xc6\xaf\x7e\x9c\xff\xbf\xbf\xfd\xfb\xdf\xb7\xaf\xbe\xdf\xff\xf1\xe9\xdf\x7f\xdf\xc3\x57\x5f\xff\xe3\x3f\xff\xfe\xfb\xff\xfe\xaf\x3f\xfc\xb7\xaf\xfe\xcf\xbf\xed\xbf\x7f\xf5\x3f\x7f\xff\xfd\x9f\xff\x71\xfc\xd7\x7f\xfd\xb7\xfd\x1f\xff\xeb\xdf\x7f\xdf\xff\xe5\x6f\xd7\xef\xff\x65\xfd\xc7\xdf\xfe\x75\xfb\xc7\xff\xf9\xfb\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x6f\xef\x35\xef\x87\x8f\x37\xa1\xa6\x69\x77\x37\xef\xd4\x34\x9d\xdc\x03\x71\x6a\x9a\x4e\x5e\x4d\xb1\x79\x8d\xe8\xf6\x1a\xb1\x79\x8d\xd8\xf5\x1a\x77\xa1\xa1\x69\x1a\xdc\x9a\x9a\xab\x89\x6e\x57\x13\x9b\xab\x89\x6e\x57\x13\x9b\xab\x89\x6e\x57\x13\x9b\xab\x89\x5d\x57\x73\x6f\x5e\x73\x35\xd1\xed\x6a\x62\x6a\x9a\x92\x5b\x53\xf3\x4f\xe7\x7f\x7a\x85\x9a\x26\xb7\xd7\x88\xcd\x6b\xc4\xae\xd7\x78\xf7\xeb\x4d\xa8\x69\x72\x7b\x8d\xd8\xbc\x46\xec\x7a\x8d\x26\xd4\x34\x75\xbd\xc6\x7d\x72\x9b\xd7\x88\x5d\xaf\x71\xd7\xd4\xbc\x46\xec\x7a\x8d\xfb\x40\x34\xaf\x11\xdd\x5e\x23\x36\xaf\x11\xdd\x5e\x23\x36\xaf\x11\xdd\x5e\x23\x36\xaf\x11\xbb\x5e\xe3\xde\xbc\xe6\x35\x62\xd7\x6b\xdc\x35\x35\xaf\x11\xbb\x81\xef\x5d\xa8\x79\x8d\xf3\x3f\x07\xa7\x50\xd3\xd4\xf5\x1a\xbf\xfc\xf0\x26\xb4\x35\x4d\x9b\xbb\x4f\xcd\xd5\xc4\xae\xab\xb9\x0b\x35\x57\x13\xbb\xae\xa6\x09\x35\x4d\x6e\x57\x93\x9a\x03\x48\x5d\x07\x70\xcb\x35\x52\x73\x00\xa9\xeb\x00\xee\x42\xcd\x01\xa4\xae\x03\xf8\xfa\xdd\x4d\xa8\x69\xea\x3a\x80\xbb\xa6\xe6\x00\xce\xff\x8c\x6e\xa1\x74\x38\x80\x64\x4a\x55\x48\xfe\xf4\xc9\x48\xa6\x91\x24\xc7\xfa\x5a\xf2\x03\x4a\x8e\x20\x29\x5b\x6b\x75\x66\x6a\x6d\x8e\x9e\xc5\xe6\xf2\x65\x22\xc9\xaa\x24\x3f\xfc\x64\x24\x47\x92\x5c\x94\xe4\x2d\x08\xba\x7c\xb9\x92\xe4\xa6\x24\x6f\xb9\xe6\xe5\xcb\x9d\x24\x7d\x86\x1d\x0e\xc7\x42\x23\xb4\x1e\x16\xa7\x25\xac\x87\x95\x24\xd7\xe8\x9b\x95\xf5\xb0\x26\x92\x74\xeb\xdc\x48\xe7\x26\x74\xda\xf9\x5c\x0f\x1b\xe9\xdc\x84\xf5\xd9\xb1\x5d\x0f\xdb\x48\x92\x8b\x6f\x3e\xd7\xc3\xb6\x92\xa4\x73\x56\xd6\xc3\x4e\xfd\xdc\x45\x3f\xad\xf5\xad\x87\x1d\xfa\xe9\x5d\x0e\x4c\x17\xdd\x6b\x48\x8b\x07\x53\x37\x1e\x6c\x42\x4d\x53\x37\x1e\xbc\x0b\xb5\x78\x30\x75\xe3\xc1\x26\xd4\x34\x75\xe3\xc1\x1f\xff\x9f\x37\xa1\x16\x0f\x9e\xff\x39\x88\x99\xbe\xeb\x39\x7f\xb7\x82\xd4\xfa\x5a\xea\xbe\x6a\x9f\xbf\xdb\x40\x6a\x7b\x2d\xf5\xfd\x7b\x23\xb5\x83\xd4\xfe\x5a\xea\xbb\x9f\x8d\xd4\x09\xa4\xc4\x50\xd8\x16\x06\x18\x0d\xe7\xb8\xb7\xe8\x38\x75\xa3\xe3\xbb\x50\x8b\x8e\x53\x37\x3a\x6e\x42\x4d\x53\x37\x3a\xbe\x0b\xb5\xe8\xf8\xfc\xcf\xc3\x31\x8c\x67\xc0\xd8\xff\xfb\xed\x6f\xc3\xc3\x57\xc3\x1f\xdf\xfd\xf2\xf0\x59\x68\x9f\xe5\x63\x1c\x9e\xae\x2a\xf0\x9f\xcf\x36\x67\x6b\x7f\x78\xba\x82\xfd\x8c\x62\x93\x15\
func geoip6Bytes() ([]byte, error) {
return bindataRead(
_geoip6,
"geoip6",
)
}
func geoip6() (*asset, error) {
bytes, err := geoip6Bytes()
if err != nil {
return nil, err
}
info := bindataFileInfo{name: "geoip6", size: 2421425, mode: os.FileMode(438), modTime: time.Unix(1537539535, 0)}
a := &asset{bytes: bytes, info: info}
return a, nil
}