chirpnest/bindata.go

362 lines
100 KiB
Go
Raw Normal View History

2019-12-29 08:50:56 +01:00
// Package main Code generated by go-bindata. (@generated) DO NOT EDIT.
// sources:
// data/code.json
// data/code_obj_sub_type.json
// data/code_obj_type.json
2020-01-02 11:04:48 +01:00
// data/config.json
2019-12-29 08:50:56 +01:00
// data/msg_rules.json
2019-12-29 13:25:00 +01:00
// data/obj_item.json
2019-12-26 06:08:00 +01:00
package main
2019-12-29 08:50:56 +01:00
import (
"bytes"
"compress/gzip"
"fmt"
"io"
"io/ioutil"
"os"
"path/filepath"
"strings"
"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
}
// Name return file name
func (fi bindataFileInfo) Name() string {
return fi.name
}
// Size return file size
func (fi bindataFileInfo) Size() int64 {
return fi.size
}
// Mode return file mode
func (fi bindataFileInfo) Mode() os.FileMode {
return fi.mode
}
// ModTime return file modify time
func (fi bindataFileInfo) ModTime() time.Time {
return fi.modTime
}
// IsDir return file whether a directory
func (fi bindataFileInfo) IsDir() bool {
return fi.mode&os.ModeDir != 0
}
// Sys return file is sys mode
func (fi bindataFileInfo) Sys() interface{} {
return nil
}
var _dataCodeJson = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\x01\x00\x00\xff\xff\x00\x00\x00\x00\x00\x00\x00\x00")
func dataCodeJsonBytes() ([]byte, error) {
return bindataRead(
_dataCodeJson,
"data/code.json",
)
}
func dataCodeJson() (*asset, error) {
bytes, err := dataCodeJsonBytes()
if err != nil {
return nil, err
}
2020-01-02 11:04:48 +01:00
info := bindataFileInfo{name: "data/code.json", size: 0, mode: os.FileMode(420), modTime: time.Unix(1577935608, 0)}
2019-12-29 08:50:56 +01:00
a := &asset{bytes: bytes, info: info}
return a, nil
}
2020-01-02 16:25:30 +01:00
var _dataCode_obj_sub_typeJson = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xb4\x9a\x5b\x73\x1b\xa9\x12\xc7\x9f\xed\x4f\x41\xf9\x39\x9f\xe0\xbc\x29\x71\xe2\xe4\xd4\x71\x2e\xbe\x9c\x3c\x6c\x6d\x4d\xa1\x99\x96\x44\xc2\xc0\x98\x8b\x64\xd5\xd6\x7e\xf7\x2d\x98\x3b\x30\xb6\xe9\xa9\x7d\xed\x1e\xfd\xf8\xd3\xd0\x5c\x1a\xfd\x71\x79\xf1\xd7\xe5\xc5\xc5\x15\x13\x86\x17\xac\xba\xfa\x0f\xb9\xb2\x1a\xd4\xd5\x3b\x67\x14\xb4\x06\x67\x79\x1c\x2c\x72\xfb\xab\x30\xe7\x06\x86\xef\x2e\x2f\xfe\x7e\x17\x23\xf6\x96\xf1\x6a\xce\xb8\x19\x4d\x53\x48\xfb\x65\x9a\x52\xeb\x7d\xa0\x43\xfc\x16\xf2\x24\x62\x8a\xfb\x72\x91\x51\x9c\x68\xd0\x9f\x9f\x54\x11\x05\x8d\x54\x26\x17\xe5\xe5\xc6\x40\xdf\x39\x4d\x4e\x68\x6e\xfb\xab\x42\xc1\xd3\x1c\xfc\x9d\xd3\x33\xa8\x09\x98\x28\x78\xb2\xa0\xb1\x0d\xd0\xf2\xf7\x6b\x0d\x0c\x9f\x64\x44\xe5\x35\xfd\xfb\x30\x3e\xd8\x6e\xbc\xda\x91\xb8\x25\x44\x7f\xbc\xb4\x42\x81\x9e\x37\xf1\xc3\x99\x89\x02\x6d\x79\xb6\xf0\xca\x02\x2f\x76\x6c\x7f\x30\x73\xe6\xb5\x05\x4e\xbc\x1d\x09\x3e\x80\x92\x71\xdc\x3f\x83\x92\x44\xdb\xba\xa6\xea\x8c\x8d\xb5\x27\x47\x71\x9e\x91\x11\xb1\xad\x61\x49\xed\xc1\x8d\xd6\x4a\xcd\x35\x2c\x29\x9e\xd1\x11\xba\x99\x38\xc6\xc2\xbf\x88\x23\x08\x23\xf1\x7a\x1d\x35\x12\x3c\x52\x11\x3a\x1b\xc6\x39\xdd\x43\xc1\x44\x19\x24\x48\xeb\x20\x4c\x94\xb2\x66\x62\x8f\x05\xef\x65\x9a\xdb\xdb\xf3\x89\x86\xd5\x20\xad\x49\x63\x67\xce\x7c\xf6\x89\x89\x34\x77\x70\xe4\x33\xb9\xd4\x3a\x0d\x1d\x3d\x6f\xa7\x1a\xc5\xb6\xd6\x24\x06\xec\xa1\x75\xa0\x07\xac\x07\x47\xf3\xab\x07\xd3\xd2\x6d\xa7\x1c\xaa\x3d\x24\x76\xe6\x97\xe1\xd4\x96\x86\x49\x51\x50\x21\xa4\x15\x25\xcc\x5b\xd8\xb4\x5e\x32\xf7\xe6\xd3\x6d\x53\xc5\x49\xd7\xc3\x6d\x53\x51\x03\xd8\xcc\x9b\x36\x11\x45\x28\x68\x62\x0c\x54\x0d\x22\xbb\x25\x37\x83\x13\x83\xc0\x6a\x20\x9b\xf5\xe0\x28\x3c\x1e\x7c\x87\xdc\x5e\x83\xdc\xbe\xc9\xcf\x69\x3f\x9d\xc2\xad\x79\xb4\xe5\x68\x19\xf6\xe1\xa7\x50\x15\xf1\x1e\xd7\xcb\x5c\xea\x8e\x6a\x93\xda\x87\x37\x0a\x04\x25\xce\x4b\x26\xde\x2c\xb5\xd4\x21\x22\xa5\x13\x6b\xc6\xc8\xca\x26\x31\xb0\xb2\xc9\xdf\x0e\x85\x9d\x43\x6e\x07\xcb\xdb\x29\x5b\x7b\x8e\xd5\xdc\x03\xe7\x98\x01\xd0\xc0\x79\x4c\x7b\x6f\xcf\x18\x98\x54\x15\xa8\xad\x94\xbf\x63\xe2\xb7\xde\xb5\x8e\x4b\x4b\xbe\xc4\xdd\xe4\x6f\xce\x27\x66\x0e\x95\xa2\xa7\x58\xee\xcf\xce\x83\x51\x3b\x50\x4b\x59\xc1\x02\xf6\xc3\xe0\xc2\xa8\x2d\x8f\x8b\x6a\x4b\x60\xc7\xfc\xed\x43\x1b\x59\x26\x06\xed\xde\x99\x51\xb3\xca\xf3\xa2\x45\xb6\xe5\x21\x06\xaa\x66\xba\x8c\xe5\xdd\x32\x5d\x62\xd4\x79\x5a\x24\xce\xd3\x10\xda\xac\x70\xfb\x56\x74\x07\x7d\x74\xe6\x15\x57\x50\x63\x97\x2e\x71\x0f\x8a\x56\x40\x5a\xbe\xbb\x3a\xdf\xb5\x17\x2b\x44\x20\x86\x36\x12\x67\x92\x64\x1b\x88\xf0\x24\x4f\x93\x37\x20\x40\xb1\x12\x7b\x9a\x1c\xf6\xa2\x48\xf7\x8d\x24\xed\xb5\x10\xa1\x74\xaf\x24\x07\x9d\xd8\xdf\xdc\x1d\x96\x78\x27\x26\xc8\x1d\x36\x96\x3a\xc1\x62\xd4\xf6\x39\x9b\x52\xdc\x27\x2e\x4e\x70\x97\xbd\xbc\x3c\x2c\xa2\x37\xbc\x3c\xac\x60\xa7\xf3\xb9\x63\x63\xd3\x7a\x88\xc8\x32\xfa\x0e\xd6\x90\x1b\x9a\x4a\xc7\x0e\xfd\x9d\xe2\x72\xb0\x63\x4b\x93\x0a\xb6\xf7\x91\x6f\x66\x4d\xac\xa9\x38\x27\x26\x5f\x4b\xde\x88\xf3\xaa\xb9\xb7\x14\x65\xb4\xd6\x48\x27\x7a\xcb\xd8\x5a\x7d\x0e\x0f\x35\xbd\x25\xa7\x4e\xa7\x97\x36\xc7\x3b\xd0\xd2\xaa\x12\x34\x41\xf7\xda\xa7\xd8\x02\xde\x65\x18\xd4\x67\x3c\xdc\xe7\xd8\x02\xdc\xa7\x18\x9a\x0c\x4f\x96\x35\x4b\xe8\x8f\xce\xe9\xae\x4f\x78\x7e\xa9\xe8\xce\xfc\x8b\xfc\x96\x0c\x75\x63\xce\xa9\xf3\xc9\xc7\xd1\x91\x7d\xe2\x49\xe5\xda\xfd\xaa\x54\x2b\x2a\x68\xa4\x66\xa9\x85\xe7\xba\xf5\xa0\xf2\x6d\xc0\xc6\x29\xd7\x63\x11\x6a\x4b\xaa\x0d\x87\x82\x1a\x43\x53\x63\xf7\xc1\xbb\xc9\xc6\xbb\x51\x33\x63\xc6\x8f\xa4\xcf\xf9\x78\xfd\x86\xaa\x3d\x24\x22\xde\xf1\x1f\xbc\x7b\x85\xfe\x8e\xbf\xa4\xbf\xe3\xe3\xf5\x57\xb0\x5b\x14\x7f\x0d\x3b\x10\x1a\x56\xa8\x77\xf4\x25\xe9\x3d\x1d\xb3\x60\x47\xcc\xf7\x88\x7a\x6b\xa7\x71\xa9\xf7\x2b\xe6\xdc\xd2\x64\xcb\xd7\x08\xcf\xe5\x81\x8a\x7d\x42\xe5\xc7\xce\x83\x5a\x95\x7b\x6a\xa4\x74\xa0\x62\xb4\xfa\xb5\x3e\xbd\x0a\xe3\xf7\x8e\x58\xa2\xe7\xa1\x6e\x5f\x0b\x0a\x1f\x5b\x07\x46\x63\xcf\x8c\x54\xf6\x4c\x84\x4e\x21\x0b\x6d\x68\xcd\xc2\x92\xd4\x57\x49\xee\xa7\x76\x4c\x51\x44\x03\x55\xe5\x61\xa9\x2e\x32\xf5\xe6\xbf\xb9\x
2019-12-29 08:50:56 +01:00
func dataCode_obj_sub_typeJsonBytes() ([]byte, error) {
return bindataRead(
_dataCode_obj_sub_typeJson,
"data/code_obj_sub_type.json",
)
}
func dataCode_obj_sub_typeJson() (*asset, error) {
bytes, err := dataCode_obj_sub_typeJsonBytes()
if err != nil {
return nil, err
}
2020-01-02 16:25:30 +01:00
info := bindataFileInfo{name: "data/code_obj_sub_type.json", size: 11887, mode: os.FileMode(420), modTime: time.Unix(1577978441, 0)}
2019-12-29 08:50:56 +01:00
a := &asset{bytes: bytes, info: info}
return a, nil
}
2020-01-02 11:37:24 +01:00
var _dataCode_obj_typeJson = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\x74\xd1\xcf\x6a\x84\x30\x10\xc7\xf1\x73\xf2\x14\x92\xb3\x4f\xd0\x6b\x69\x4b\x0b\x3d\xb4\x28\x3d\x94\x45\x46\x9d\x95\x59\x34\x71\xf3\x07\x85\x65\xdf\x7d\x89\xee\x25\x31\xb9\x7e\xfd\xfc\x60\x24\xff\x9c\xdd\x38\x63\x82\xa4\x1d\x1b\xea\xc5\x4b\x21\x9c\x41\x2d\x4a\x1f\x25\x4c\xe8\x4b\xed\x0b\x67\xf7\xf2\x88\x07\x47\x63\x1f\xea\x8f\x2d\xa5\xf9\x64\x86\x10\x7f\xa3\x31\x30\x60\x86\x2f\x10\x5d\xf2\x07\xb9\x43\x16\xd0\x8d\xc6\x59\x69\x7b\x58\x14\xbf\x7b\x4f\x0f\x2f\xaa\x0d\x17\x5f\xaa\xcd\x50\xb2\x38\x85\xf6\xd3\x97\x34\xee\xc0\xd8\x11\x43\xfe\xba\xb7\xf4\xe0\x0c\x14\xfd\xed\xbb\x2f\x69\xec\x24\x29\x19\xea\x4a\x43\x8f\x45\xbd\x7d\x48\x8f\xac\xa6\xd6\x59\x8c\x67\x7b\x4c\x4f\xd6\x39\xd4\x6f\xeb\x8c\x9a\x50\x76\xb9\xc1\xd5\xa1\x89\x9e\xe0\x67\x4b\x99\x93\x0e\xba\x7a\x62\x7e\x7a\x04\x00\x00\xff\xff\xb7\x4e\x39\xa0\x9c\x02\x00\x00")
2019-12-29 08:50:56 +01:00
func dataCode_obj_typeJsonBytes() ([]byte, error) {
return bindataRead(
_dataCode_obj_typeJson,
"data/code_obj_type.json",
)
}
func dataCode_obj_typeJson() (*asset, error) {
bytes, err := dataCode_obj_typeJsonBytes()
if err != nil {
return nil, err
}
2020-01-02 11:37:24 +01:00
info := bindataFileInfo{name: "data/code_obj_type.json", size: 668, mode: os.FileMode(420), modTime: time.Unix(1577961399, 0)}
2019-12-29 08:50:56 +01:00
a := &asset{bytes: bytes, info: info}
return a, nil
}
2020-01-02 11:04:48 +01:00
var _dataConfigJson = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\x01\x00\x00\xff\xff\x00\x00\x00\x00\x00\x00\x00\x00")
func dataConfigJsonBytes() ([]byte, error) {
return bindataRead(
_dataConfigJson,
"data/config.json",
)
}
func dataConfigJson() (*asset, error) {
bytes, err := dataConfigJsonBytes()
if err != nil {
return nil, err
}
info := bindataFileInfo{name: "data/config.json", size: 0, mode: os.FileMode(420), modTime: time.Unix(1577935730, 0)}
a := &asset{bytes: bytes, info: info}
return a, nil
}
2020-01-02 16:19:43 +01:00
var _dataMsg_rulesJson = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xec\xbd\x6d\x8f\x1d\xc7\x75\x3f\xf8\xda\xfe\x14\x25\x66\x01\xce\x90\x33\x23\x52\x12\xf5\xc0\x0d\xc8\x1d\x8a\x7a\x60\x56\x94\x69\x91\x32\x21\xb3\x65\xa2\x6e\xf7\xb9\xb7\xcb\xb7\xba\xaa\x59\x55\x3d\x97\x2d\xd1\x00\x91\x87\xc5\x2e\xec\x44\x59\x59\x1b\x23\xb6\x0c\xae\x81\xc4\x2f\x16\x01\x62\xe4\xc5\xae\x11\x60\xbf\x0c\xbf\x80\xf9\x11\xfe\x38\xe7\x54\x75\xf7\x7d\x9a\xb9\xa3\xe8\xd2\x92\x63\x21\x31\xef\x74\x57\xd7\xe3\xa9\x53\xe7\xe1\x77\x4e\xdd\xfb\xee\x77\x3e\xfd\xee\x77\xbe\x73\xa6\x76\xca\x9e\xb9\x2c\x2e\x5d\xb8\x70\x61\x0f\xff\x2e\xc0\xe7\xe6\xcc\x65\x71\xe6\x96\x96\x2d\x38\x31\x93\x4e\x38\xa8\xad\x0b\x67\xe8\xbd\x6b\x34\xe0\xeb\x1f\xed\x5c\xbd\xf5\x97\x6f\x4a\x1f\x34\x5c\xb9\xf7\xec\xc9\x3f\xfe\x1f\xcf\x9e\xfc\xf6\xef\x9e\x3d\xf9\xc7\xff\x7c\xf6\xe4\xb7\xff\xfb\xb3\x27\xbf\xfd\xd9\xb3\x27\xff\xfa\xc5\xb3\x27\x3f\xfb\x3f\x3f\xde\xdd\xc9\xb2\x7b\x58\xfa\x9d\x46\xe9\xe2\xca\xbd\xc3\xfd\x1f\x5e\xd8\x7f\xe3\xe3\x4f\x2f\xee\xbd\xfc\x93\xdd\x2c\xfb\x78\xf7\xd3\x0b\x7b\x17\x7f\x82\x05\x3e\xf4\xe0\xae\xec\x60\x01\xb9\xff\xc9\x85\xfd\x37\xc4\xc7\xe7\x76\x77\xc5\xd3\x5f\x7e\x71\x19\xdf\x1e\x86\x20\xf3\xe9\x95\x7b\xf8\xf1\xf9\xdd\xfe\xc9\x4d\x5b\x5c\xc9\xb2\x9d\x9d\xfd\x47\x59\x76\x7e\x97\x5f\x67\xd9\x2e\x57\x2b\x9e\x3d\xf9\xd5\x6f\xe8\xf3\xeb\x30\x06\xe3\x21\x7d\x2f\xde\x3b\xd2\x97\x05\xbe\x78\x0f\x8e\x40\xa7\xc7\x59\x66\x3e\xb2\x0d\x0e\xd9\x37\x3a\x08\x6b\x44\x28\x41\x8c\x64\x08\x1a\xc6\x0a\x74\x71\x39\xcb\xcc\xce\xb3\x27\x5f\xfc\xeb\x5b\x0f\x6b\xfe\xfe\xad\x87\x75\xfa\x3a\x0e\x25\xcb\xcc\xee\xb9\x9d\x67\x4f\x3e\xff\xdd\x3b\x56\x17\x5c\x0a\x7f\x5d\xc9\xb2\x7d\x2a\xb1\xba\xf8\xcf\x7f\x7b\x3b\xd8\x7c\xca\xe5\xe9\xe7\xb1\x1f\x3c\xfd\xf5\xbf\xfc\xe1\xf7\x9f\xbd\x1b\x7b\xf1\xee\x2d\x2c\xbc\xaa\x1c\xd7\x26\x2b\x65\xe4\x15\xec\xf9\x4f\xe3\x1f\x38\xc6\x60\x1d\x14\xbb\x83\xf2\xb4\xaa\x4e\x85\x2b\x3b\x4f\x7f\xf9\x1b\xfc\xa1\x72\xa9\x85\x0f\x4e\x4d\x21\x95\xfb\x9f\x98\x12\x2a\x3f\xb9\x1f\xda\x9a\xa8\x01\x7f\x33\x95\xdc\x97\xf9\xf4\xcc\x77\xbf\xf3\x93\xbd\x93\xe8\xeb\xb0\xc9\x83\xb2\x46\x48\x63\x6c\x93\xc3\x02\x75\xbd\x67\x83\xf8\x0b\x5a\x1d\x1b\xba\x25\xe3\x91\xde\x08\x50\x5d\x39\x38\x87\x4b\xb5\xf3\xfd\x46\x6a\x15\x5a\x7e\x11\xff\x88\xef\xe2\x98\xde\xb4\xa6\x50\xd8\x10\x97\xc1\x3f\xe7\x0a\xdc\x06\xad\xc1\xc5\x39\xa7\xdf\x1b\x12\xb5\xe8\x26\xed\x5e\xff\xed\x89\x24\xce\xc5\x88\xd0\x0f\xce\xf1\xe3\x2c\x33\x6f\x36\xce\x81\x09\xa2\x76\x2a\x07\xee\xcb\x2d\xfc\xd9\x8d\xbc\xb6\x4d\x5e\x66\xd9\x0e\xf8\x2c\xc3\xbe\x5f\x6b\x5a\xea\xf4\xfb\xd6\xc0\x23\x2c\x4e\x0f\xbe\x5a\xcf\xe9\xd3\x13\x3b\x4e\xa5\xe6\xfa\x8d\xfd\x78\xcb\x14\xe2\x30\xc4\x7d\xd0\xcd\xec\xed\x20\x43\xe3\x13\x1d\xe3\x6f\x7c\x11\xc9\xf1\xaa\xbf\x7c\x70\x6e\x77\x35\x09\x49\xa6\x89\xfb\x44\x13\x26\x87\x8d\x08\xe9\x8e\xaa\x16\xa9\xe7\x86\x11\x6f\x96\x32\x88\xbb\xd2\x79\x31\xb3\x4e\x17\xc2\xd8\x59\x24\x6f\x2c\x9f\xe8\x07\x37\x8e\x6d\x1c\xcf\xf3\xa7\x2f\xfd\x64\x97\x58\xc5\x4d\x65\x9a\x00\xfd\xc3\x58\xf2\xba\x6c\xfb\x67\x34\xb8\x9b\xd6\x84\xf2\xca\xc1\x79\xfe\xeb\x23\x90\xa9\xa6\x57\xe8\xa3\x2c\x33\x77\x41\x86\x12\x9c\x18\x5b\x07\xb9\xf4\x21\x56\x15\x1f\x63\x37\x9e\xfe\x6f\x9f\x0f\x9e\xbc\x0f\x0f\x43\xd7\x39\x9a\xa9\x35\xbb\x2d\xa8\x0a\x36\xde\x6b\xb7\x94\xd6\x72\x02\xe2\x86\xc9\x17\x66\xea\x23\xdb\x88\x19\x38\xc0\x2d\x6e\xb5\x56\x66\x22\xa4\xb3\x8d\x29\x90\xf5\xb5\xc8\x09\x4b\xeb\x3c\x88\x59\x09\xf4\xb7\x30\x36\xa8\x1c\x0a\xb1\x31\x53\x67\x26\xcd\x63\x15\x76\x2c\x0e\x3e\xe5\xe7\x91\x58\x77\x6e\x5a\x6b\xb4\x9a\x94\xe1\xd1\x5d\xab\xc7\xb5\xcc\xa7\x8f\xae\x03\xb8\xd2\x3a\xf3\xe8\xba\x93\x13\x6b\x7c\x2e\x35\x3c\xba\x5d\x4a\x37\x0d\x00\xa1\x7c\x74\xcb\x06\x19\xec\xa3\x77\xd5\xa4\x34\xe0\xc3\xee\xae\xe0\xca\x44\x70\x2d\x8e\x20\x58\x51\xc7\x11\x4b\xa1\x2d\x72\xb0\x23\xfe\xfb\x40\xdc\xb1\xc2\x07\x5b\x8b\x52\x55\x22\xd7\x2a\x9f\x8a\x17\x27\x76\xcd\x1c\xc7\x4a\xee\x2b\x93\x6f\x34\xcd\xef\xd8\x85\xd9\x5d\x5f\xf5\xc4\x9e\x6a\xe1\x96\x6a\xc6\x75\xd3\x6a\x1c\x44\x53\xf3\x32\xf9\x99\x75\x85\x90\xa6\x10\x79\x29\x1d\x8e\x3c\xd0\xd1\x75\xa4\xac\x96\xc1\xba\x83\x13\xc6\x78\xca\x0e\xdd\x55\x66\x45\x8f\x7c\x93\xe7\xe0\xfd\xb8\xd1\xba\x15\x
2019-12-29 08:50:56 +01:00
func dataMsg_rulesJsonBytes() ([]byte, error) {
return bindataRead(
_dataMsg_rulesJson,
"data/msg_rules.json",
)
}
func dataMsg_rulesJson() (*asset, error) {
bytes, err := dataMsg_rulesJsonBytes()
if err != nil {
return nil, err
}
2020-01-02 16:19:43 +01:00
info := bindataFileInfo{name: "data/msg_rules.json", size: 62356, mode: os.FileMode(420), modTime: time.Unix(1577978350, 0)}
2019-12-29 13:25:00 +01:00
a := &asset{bytes: bytes, info: info}
return a, nil
}
2020-01-02 16:19:43 +01:00
var _dataObj_itemJson = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xbc\x9d\xdb\x6e\x1c\xb7\x96\x86\xaf\x9d\xa7\x20\xfa\xc6\x37\x1a\x6c\xb7\xa4\x96\x0f\x77\x96\x6c\x4b\x49\xac\x44\x5b\xed\x89\x31\x13\x04\x01\x55\xcd\xee\xe2\x56\x55\xb1\x37\xab\x4a\xb2\x76\x60\x60\x30\x98\xbb\xc1\x4c\x80\x09\xe6\xb0\x81\x19\xf8\x72\x5e\x21\xcf\x93\x17\x48\x1e\x61\xa3\xeb\xd4\x5d\xad\xd5\x4e\x91\xff\xa2\x7d\xe5\x62\xeb\xf0\x89\xb5\xc8\x7f\x91\xc5\xf5\xd7\xb7\x9f\x09\xf1\xc3\x67\x42\x08\x31\xd2\x85\x4a\xbf\x2f\xee\x96\x6a\xf4\xac\xb9\xb0\x2a\x1f\xed\xd5\x1f\x46\x66\x56\xb5\x3f\x1a\xb7\x2d\xb7\x4a\x2f\xe2\x62\xd5\xd6\x35\xa9\x77\x51\x2c\xb3\x45\xf5\x85\x7f\x28\xbe\x5f\x7f\xad\x2c\xa3\x42\x9b\x6c\xd5\x3e\x97\x49\xae\xda\xf6\x4c\xa6\x2a\x1f\x3d\x13\xdf\x8e\xde\xc4\x56\xc9\xd9\xe8\xbb\xcf\x84\x78\xbf\xe7\xca\xb4\xef\xc0\xb4\x3f\x9c\x69\x5a\xe8\xe8\xda\x13\xe9\xc0\x01\xe9\x60\x38\xd2\x85\x4a\x0a\x4f\xa2\x43\x07\xa2\xc3\xe1\x44\xc7\x26\x53\x9e\x44\x13\x07\xa2\xc9\x70\xa2\x13\x23\x13\x4f\xa2\x23\x07\xa2\x23\x07\xa2\x58\xda\xc8\x9f\xea\xb1\x03\xd5\x63\x87\x58\x32\xb7\x33\x65\x3d\x99\x9e\xdc\x67\xda\xdf\xc5\xf4\x64\x38\xd3\xe7\xd6\x64\xe2\x6b\xab\x46\x7b\xf5\x7f\x8d\xf5\x0d\xae\xa7\x0e\x9d\xf6\xd4\xe1\x56\x26\xa6\x88\xfd\x90\xc6\x8f\x86\xf7\xd9\xfa\x6b\x07\x4c\x53\x3a\xb9\x51\xb6\xe9\xb5\xe6\xc2\xbb\xdf\xc6\x8f\x08\xca\x47\x14\xa5\x4b\xa0\x95\x51\x2c\xcc\x5c\x9c\x9a\xc4\x73\x8a\x1f\x13\xb2\xb3\xb3\xef\x1c\x64\xe7\x58\x96\xef\x74\xe1\xdb\x57\x84\xee\x90\x50\x2e\x73\x97\x9d\x8d\xbe\x6b\x7f\x8f\x95\xf3\xd5\x0f\xfd\x61\x14\xa5\xb3\xea\x8f\xab\x5a\xbe\xef\x7e\xef\xfa\xdf\x28\x95\x99\x1c\x3d\x13\xe3\x49\xfd\xc9\x83\x07\xcd\x1f\x91\x8f\x9e\x7d\xfb\x43\xf5\xbf\x56\xbd\xc5\xe8\xcf\xa5\xcc\x0a\x5d\xdc\x8d\x9e\x89\xc7\xef\xb7\x7f\x52\xfd\xef\xc1\xfa\x7b\xc6\x4f\xb7\xbe\x67\xfc\xfe\xbb\xf7\x5e\xdd\xe5\xa0\x89\x63\x07\x4d\x3c\x97\x0b\x1d\x89\x69\xb1\x12\xa2\xbd\xe6\x2a\x2f\xbc\x65\x69\x4c\x08\x25\x78\x57\xdf\x1a\x33\x53\x99\x98\xc6\xab\xfb\xb9\xd7\x5e\xe6\xd5\xa5\x1f\x23\x21\x9d\x3b\x87\x83\x83\x74\x4e\xe5\x72\x19\x6b\xef\xb9\x83\x90\xcf\x9d\x54\x0e\xf2\x39\x35\xc9\x8d\xca\x7c\xbb\x8a\x50\xcf\x9d\x50\x0e\xea\x79\x59\x5e\xdd\x79\x12\x39\x68\xe7\xd8\x41\x3b\xcf\xa4\x9d\xa9\xcc\x57\xd1\xc7\x84\x60\xee\xa4\x72\x10\xcc\x69\xa1\x94\x67\xe2\xb3\x4f\x48\xd1\xae\x09\x63\xdf\x41\x30\x5f\x2b\x59\xc4\xbe\xfd\xb4\xef\xb0\x00\xda\x77\x51\x22\x93\x29\xd1\xa4\x64\x7b\xf5\xd5\x12\x48\xd0\xf6\x1d\xd6\x44\xfb\x4e\x6b\x22\xab\xb3\x85\x27\x93\x83\x00\xec\x3b\x08\xc0\x89\xb9\xf6\x9c\xb1\xf6\x87\x2e\x8a\x1c\x92\x9d\xd2\xea\xb9\x56\xb3\xf5\xbd\xec\x5a\xa0\xfb\x49\xcc\xf8\x07\x18\x69\x93\x2a\x3e\x4f\x12\x73\xb7\xce\x1c\x65\x75\xe9\xc7\x38\x74\xaa\x75\x9c\x3d\xc4\xf9\x2a\x6f\xdc\x6b\x2e\x52\xef\x24\x72\x7f\xe8\xc4\xeb\xdc\x87\x2d\x60\x7d\x05\x10\x12\x93\x30\x78\x97\x8f\x13\x19\x5d\xe7\xa9\x2e\x62\xf1\xca\xca\x74\x95\x22\x6d\x34\xcd\xab\x26\x2f\xd6\x03\x62\x76\x06\x59\x9f\xdb\x42\xe7\x32\xeb\x40\xdb\x6b\x84\xd2\x61\xba\x3e\x70\x98\xae\x2f\xcd\xd2\x97\x88\x7f\xd5\xd0\xc4\x5d\xdb\x6d\xcd\x25\xd2\x6b\xc4\x4c\xbd\x2b\x19\x38\x70\x49\xd5\x55\x21\x13\x71\x91\xc8\xa2\x4a\xd5\xab\xab\x65\x75\xe5\x87\x39\x34\x55\x5f\x61\x3a\xec\x69\x55\x60\x89\x8e\xc4\x2b\x7d\x55\x4d\xe1\x5d\xc3\xbc\x6a\xf0\x83\x75\xd8\xee\x3a\x70\xd9\xee\x5a\xad\x09\xd5\x4c\xb4\x59\xcd\x5e\xd7\x92\x20\x79\xce\xc1\xd0\x64\x7e\x38\xe9\x1f\x4b\x99\xe8\xe2\x4e\x00\x7b\x28\x07\x84\xc4\xf0\x4d\x90\xe7\xde\x13\xf7\x01\x21\x2d\x4c\x93\xe1\x40\x28\x99\x44\xf1\x3d\x2a\x87\x4d\xb0\x03\xa7\x9c\x5e\x67\xd7\x77\x62\x5a\xa6\x32\xf2\x44\x3b\x74\xc8\xed\x0f\x1d\x72\xfb\x73\x65\xa3\x3b\x31\x95\x79\x2e\xe7\x56\xe6\xbe\x74\x0e\xaa\x71\xe8\xa0\x1a\x27\x89\x9e\xcf\xc5\x65\x39\x64\xbe\x23\xb9\x1c\xb2\xfa\x43\x87\xac\xfe\xb5\xb9\x51\xe2\xc4\x2a\xb5\x1c\x34\x5d\x90\x68\x0e\xc9\xfd\xa1\x83\x64\xbc\x35\xc9\x5c\x5c\x1a\x33\x64\xf9\x4f\x72\x39\x3c\xf7\x38\x74\xd0\x88\xe9\xad\x4c\x97\xe2\xb5\xbc\x51\xd9\xb0\xa4\x9e\x84\x73\xd0\x84\x43\x07\x4d\x78\x1b\xeb\x42\x89\xe3\xc4\xe4\xb9\x49\x7d\xd9\x1c\x1e\x86\x1c\x3a\xec\xe6\x7c\x9e\xc8\x1b\xe5\x3d\x30\x1d\x9e\x85\x1c\x3a\xec\xe6\xbc\x5c\xc6\xfa\x4f\xc6\x4a\x5f\x2c\x62\xfa\xdf\x89\xe5\xb0\xa5\x33\x2d\x8c\x4d\xc
2019-12-29 13:25:00 +01:00
func dataObj_itemJsonBytes() ([]byte, error) {
return bindataRead(
_dataObj_itemJson,
"data/obj_item.json",
)
}
func dataObj_itemJson() (*asset, error) {
bytes, err := dataObj_itemJsonBytes()
if err != nil {
return nil, err
}
2020-01-02 16:19:43 +01:00
info := bindataFileInfo{name: "data/obj_item.json", size: 83570, mode: os.FileMode(420), modTime: time.Unix(1577965716, 0)}
2019-12-29 08:50:56 +01:00
a := &asset{bytes: bytes, info: info}
return a, nil
}
// Asset loads and returns the asset for the given name.
// It returns an error if the asset could not be found or
// could not be loaded.
func Asset(name string) ([]byte, error) {
cannonicalName := strings.Replace(name, "\\", "/", -1)
if f, ok := _bindata[cannonicalName]; ok {
a, err := f()
if err != nil {
return nil, fmt.Errorf("Asset %s can't read by error: %v", name, err)
}
return a.bytes, nil
}
return nil, fmt.Errorf("Asset %s not found", name)
}
// MustAsset is like Asset but panics when Asset would return an error.
// It simplifies safe initialization of global variables.
func MustAsset(name string) []byte {
a, err := Asset(name)
if err != nil {
panic("asset: Asset(" + name + "): " + err.Error())
}
return a
}
// AssetInfo loads and returns the asset info for the given name.
// It returns an error if the asset could not be found or
// could not be loaded.
func AssetInfo(name string) (os.FileInfo, error) {
cannonicalName := strings.Replace(name, "\\", "/", -1)
if f, ok := _bindata[cannonicalName]; ok {
a, err := f()
if err != nil {
return nil, fmt.Errorf("AssetInfo %s can't read by error: %v", name, err)
}
return a.info, nil
}
return nil, fmt.Errorf("AssetInfo %s not found", name)
}
// AssetNames returns the names of the assets.
func AssetNames() []string {
names := make([]string, 0, len(_bindata))
for name := range _bindata {
names = append(names, name)
}
return names
}
// _bindata is a table, holding each asset generator, mapped to its name.
var _bindata = map[string]func() (*asset, error){
"data/code.json": dataCodeJson,
"data/code_obj_sub_type.json": dataCode_obj_sub_typeJson,
"data/code_obj_type.json": dataCode_obj_typeJson,
2020-01-02 11:04:48 +01:00
"data/config.json": dataConfigJson,
2019-12-29 08:50:56 +01:00
"data/msg_rules.json": dataMsg_rulesJson,
2019-12-29 13:25:00 +01:00
"data/obj_item.json": dataObj_itemJson,
2019-12-29 08:50:56 +01:00
}
// AssetDir returns the file names below a certain
// directory embedded in the file by go-bindata.
// For example if you run go-bindata on data/... and data contains the
// following hierarchy:
// data/
// foo.txt
// img/
// a.png
// b.png
// then AssetDir("data") would return []string{"foo.txt", "img"}
// AssetDir("data/img") would return []string{"a.png", "b.png"}
// AssetDir("foo.txt") and AssetDir("notexist") would return an error
// AssetDir("") will return []string{"data"}.
func AssetDir(name string) ([]string, error) {
node := _bintree
if len(name) != 0 {
cannonicalName := strings.Replace(name, "\\", "/", -1)
pathList := strings.Split(cannonicalName, "/")
for _, p := range pathList {
node = node.Children[p]
if node == nil {
return nil, fmt.Errorf("Asset %s not found", name)
}
}
}
if node.Func != nil {
return nil, fmt.Errorf("Asset %s not found", name)
}
rv := make([]string, 0, len(node.Children))
for childName := range node.Children {
rv = append(rv, childName)
}
return rv, nil
}
type bintree struct {
Func func() (*asset, error)
Children map[string]*bintree
}
var _bintree = &bintree{nil, map[string]*bintree{
"data": &bintree{nil, map[string]*bintree{
"code.json": &bintree{dataCodeJson, map[string]*bintree{}},
"code_obj_sub_type.json": &bintree{dataCode_obj_sub_typeJson, map[string]*bintree{}},
"code_obj_type.json": &bintree{dataCode_obj_typeJson, map[string]*bintree{}},
2020-01-02 11:04:48 +01:00
"config.json": &bintree{dataConfigJson, map[string]*bintree{}},
2019-12-29 08:50:56 +01:00
"msg_rules.json": &bintree{dataMsg_rulesJson, map[string]*bintree{}},
2019-12-29 13:25:00 +01:00
"obj_item.json": &bintree{dataObj_itemJson, map[string]*bintree{}},
2019-12-29 08:50:56 +01:00
}},
}}
// RestoreAsset restores an asset under the given directory
func RestoreAsset(dir, name string) error {
data, err := Asset(name)
if err != nil {
return err
}
info, err := AssetInfo(name)
if err != nil {
return err
}
err = os.MkdirAll(_filePath(dir, filepath.Dir(name)), os.FileMode(0755))
if err != nil {
return err
}
err = ioutil.WriteFile(_filePath(dir, name), data, info.Mode())
if err != nil {
return err
}
err = os.Chtimes(_filePath(dir, name), info.ModTime(), info.ModTime())
if err != nil {
return err
}
return nil
}
// RestoreAssets restores an asset under the given directory recursively
func RestoreAssets(dir, name string) error {
children, err := AssetDir(name)
// File
if err != nil {
return RestoreAsset(dir, name)
}
// Dir
for _, child := range children {
err = RestoreAssets(dir, filepath.Join(name, child))
if err != nil {
return err
}
}
return nil
}
func _filePath(dir, name string) string {
cannonicalName := strings.Replace(name, "\\", "/", -1)
return filepath.Join(append([]string{dir}, strings.Split(cannonicalName, "/")...)...)
}