2019-12-29 08:50:56 +01:00
|
|
|
// Package main Code generated by go-bindata. (@generated) DO NOT EDIT.
|
|
|
|
// sources:
|
|
|
|
// 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
|
|
|
|
}
|
|
|
|
|
2020-02-03 21:23:29 +01:00
|
|
|
var _dataCode_obj_sub_typeJson = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xb4\x9a\xcd\x92\xe3\x28\x12\x80\xcf\xdd\x4f\x41\xf4\x79\x0e\x13\x73\xdc\x5b\x75\x55\xff\xed\x6e\x75\xf7\xd4\xcf\x74\x6c\x6c\x6c\x28\x30\x4a\xd9\x54\x21\x50\x03\xb2\xcb\xb1\xb1\xef\xbe\x01\x12\xb2\x05\xc8\x65\xd2\x33\x57\x12\x7d\x99\x4a\x48\x48\x12\xfe\xfd\xf6\xcd\x7f\xdf\xbe\x79\xf3\x8e\x4b\x2b\x2a\x5e\xbf\xfb\x1b\x79\xd7\x1b\xd0\xef\x7e\x71\x8d\x92\xb6\xe0\x5a\x1e\xa7\x16\xb5\x7a\xaa\xec\xbe\x83\xa9\xdf\xdb\x37\xff\xfb\x25\x45\xac\x7b\x2e\xea\x39\xe3\xd3\xa1\xe9\x18\x32\xf4\xcc\x53\x5a\xb3\x8e\xec\x90\xcf\x52\xed\x64\x4a\x71\x3d\x17\x19\x95\xd7\x51\xb5\x94\xcb\x8c\x49\xc4\xb5\x13\xb6\xa1\x16\x87\xad\xa1\x53\x86\xdb\x1c\x79\x14\xa1\xe0\x4f\x6a\x55\xad\x77\xdc\x6e\x6a\x4d\x77\x95\x86\x9f\x39\x05\x41\x4e\x98\x92\x0d\x99\x3a\x61\xb5\x50\xf6\xfc\xba\x96\xa9\x53\x81\xa3\x2a\x2e\x4d\x07\xcc\x2e\xfd\xc7\x28\x26\x1a\xd6\xa5\xec\x40\x4e\x6c\xff\x62\xa1\x9d\xc0\x08\xa3\xb9\xdc\x52\xc1\xeb\x8a\x32\xcb\x95\xfc\x73\xd9\x3b\x1a\x05\xd8\x0f\xaa\x89\x86\x4e\x69\xe4\x24\x4c\x80\xde\xaf\x86\xec\xd0\xdc\xe1\xab\x74\xc0\xbe\x0b\xba\x07\x7d\x04\x76\xd3\xae\x07\x83\x55\x90\x8c\x5b\xaa\x00\x35\xe3\x5e\xb1\x7f\x1d\xfb\x07\xfb\x1b\xaf\xfe\x48\xaa\x09\xf1\x3f\xde\xb4\x4a\x83\x99\xab\xf8\xdd\x35\x13\x0d\xa6\x17\xc5\x86\xd7\x3d\x88\xaa\xe1\xeb\x4d\xb4\x74\xdd\xf4\x20\x88\x6f\x47\x82\x37\xa0\x55\xea\xf7\xcf\xa0\x15\x31\x7d\xdb\x52\xbd\xc7\xfa\xda\x93\x13\x3f\xcf\xc8\x08\xdf\xb6\xb0\x64\xed\xc6\x8d\xd6\x85\x36\xb7\xb0\x64\xf1\x8c\x8e\x5b\xa0\x52\xc3\xbf\xc8\x2d\x48\xab\xf0\xf6\x3a\x6a\xba\x96\x4e\x54\x84\x9d\x1d\x17\x82\xae\xa1\xe2\x92\x45\x01\x32\x08\x08\x97\x4c\xb5\x5c\x16\x2f\xfd\x01\xbc\x56\x79\x6e\x68\x2f\x27\x5a\xde\x82\xea\x6d\x1e\x3b\x13\x96\xb3\x77\x71\x16\x12\xb8\x93\xa0\x9c\x29\x94\x31\x79\xe8\x41\x72\x3e\xd5\x6a\xbe\xea\x6d\x66\xc0\x1e\x06\x01\x7a\xc0\x02\x38\x99\x5f\x01\x4c\x99\xcb\xef\x04\xd4\x6b\xc8\xa4\x8a\x67\xc1\x4d\x65\x2c\xb5\x26\x8d\x8c\xa0\xe3\xde\x89\x31\xb9\x52\xa4\x60\xf1\x27\x06\x05\x88\x40\xa1\xbd\x4f\x35\x2a\x2a\xa5\xea\x25\x83\x39\xfe\x6a\x90\x92\xb9\xb4\x9c\xde\x77\x75\xea\x9c\x00\xef\xbb\x9a\x5a\xc0\xae\x1d\xc7\x2a\x12\xf7\x44\x2a\x0e\x43\xdd\x82\x2c\xd6\xe4\x62\x30\x33\x02\xbc\x05\x72\x75\x39\x38\x9d\x3b\x0e\x7c\x87\x4c\x10\xa2\xd5\xe9\x53\xf9\xaa\xe4\x03\x22\x4e\x2e\x0e\x6d\x25\xb6\x4c\x99\x44\x9c\x87\x2b\xe2\x25\xee\x2f\x4b\xa9\x0d\x35\x36\x97\x49\x5c\x69\x90\x94\x38\x29\x39\x92\x16\x59\x4b\x1d\x22\xb1\xf4\xa8\xb5\x60\x64\x55\x97\x19\x58\xd5\x95\x6f\xe8\xb2\x9f\x43\x6e\xa7\x96\xf3\x29\xab\x7e\x9f\x5a\x73\x0f\x42\x60\x06\xc0\x80\x10\x29\xed\x7d\xbf\xc7\xc0\x94\xae\x41\xaf\x94\x7a\x4e\x89\xdf\x82\xe8\x32\x2e\x65\x62\x89\x7b\x85\x38\x4b\x2d\x9e\x91\x7f\x84\x73\x2b\xc2\xda\x89\xca\x54\x0d\x0b\xd8\xeb\x49\x84\xb1\x96\x6d\x17\xad\x65\xc0\xb7\xe5\x1b\xa0\xb1\x8a\x65\x06\xed\xde\x35\xa3\x66\x95\xe7\x25\x8b\xec\xc0\x43\x0c\x54\xcb\x0d\x4b\xcd\xbb\xe5\x86\x61\xac\xf3\xb4\xc4\x38\x4f\x43\xd8\xd6\x4b\xb7\x6f\x25\xa7\xe8\x47\xd7\x7c\xc1\x21\xda\xf6\x4b\xc7\xd0\x07\x4d\x6b\x20\x03\xdf\x1d\xfe\xef\x86\xa3\x21\xc2\x11\x93\x8e\x4c\x42\x92\xd5\x81\x70\x4f\x36\x1f\xfe\x04\x12\x34\x67\xd8\x7c\x78\xda\x8b\xd2\xaa\x93\x22\xc3\xc1\x16\x61\xe9\x5a\x2b\x01\x99\xec\x6f\xa8\x33\x79\x21\xc6\xc9\x23\x76\xa1\x40\x36\x60\x31\xd6\x86\x98\xcd\x59\x1c\x02\x17\x67\xf0\x18\xbd\x82\x6d\x16\xd1\x57\x82\x6d\x2e\x60\xe7\xe3\x79\x64\x63\xc3\x7a\xf2\xc8\x32\xfa\x0e\x2e\x21\x77\x34\x17\x8e\x23\xfa\x3b\xc5\xc5\xe0\xc8\x56\x36\xe7\x6c\x2f\x23\xdf\xec\x25\xbe\xa6\x72\x9f\x99\x7c\x03\xf9\x4a\xee\x2f\x9a\x7b\x4b\x5e\x46\xdb\x9a\xd8\x89\xde\x32\x56\xbd\xd9\xc7\x49\x4d\x68\x29\xa9\x34\x9a\xa5\xcd\xf1\x0e\x8c\xea\x35\x03\x43\xd0\x7f\xed\x43\x6c\x01\xef\x22\x0c\xda\x3d\x1e\xee\x63\x6c\x01\xee\x43\x0c\x4d\x86\x9f\x3d\xef\x96\xd0\x1f\x9c\xd0\x1d\x9f\xf0\x7c\xa6\x69\x63\xff\x42\xfe\x40\x86\xb6\xb3\xfb\x5c\x7e\xf2\xe1\x20\x28\xce\x78\x72\xb1\x76\x7f\x51\xa8\x85\x4b\xa2\x4c\xb4\xdd\x8c\x77\x44\x98\x78\x9b\xb0\x69\xc8\x05\x2c\xca\xda\x2d\xed\x85\xad\x9a\x5e\x88\xdc\x6e\xe7\xa5\xe4\x20\x2d\x98\x13\xd4\x58\x01\x15\xb5\x96\xe6\x66\xc5\xb5\x17\x93\x2b\x2f\x46\xcd\xb9\x19\x3f\x71\xca\x9c\x8f\xf0\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-02-03 21:23:29 +01:00
|
|
|
info := bindataFileInfo{name: "data/code_obj_sub_type.json", size: 14669, mode: os.FileMode(436), modTime: time.Unix(1580735934, 0)}
|
2019-12-29 08:50:56 +01:00
|
|
|
a := &asset{bytes: bytes, info: info}
|
|
|
|
return a, nil
|
|
|
|
}
|
|
|
|
|
2020-02-03 21:23:29 +01:00
|
|
|
var _dataCode_obj_typeJson = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xac\x91\xcd\x6a\x84\x30\x14\x46\xd7\xc9\x53\x48\xd6\x3e\x41\xb7\xa5\x2d\x2d\x74\xd1\xa2\x74\x51\x8a\x5c\xf5\x56\xee\xa0\x89\x93\x1f\x14\x86\x79\xf7\x21\x3a\x9b\xc4\x64\x37\xdb\xe3\x39\xe6\x0b\xf9\xe5\xec\xc2\x19\x13\x24\xed\xd8\x50\x2f\x9e\x0a\xe1\x0c\x6a\x51\x7a\x28\x61\x42\x4f\x6a\x4f\x38\xbb\x96\x47\x79\x70\x34\xf6\xa1\xfd\xb6\xa1\xb4\x3e\x99\x21\x94\x3f\xd1\x18\x18\x30\xa3\x2f\x10\x2d\xf9\x81\xdc\x90\x05\x74\xa3\x71\x56\xda\x1e\x8a\xe2\x7b\xe7\xe9\xf0\xa4\xda\xb0\xf8\x50\x6d\x46\x25\x8b\x53\xe8\xbe\x7b\x92\x96\x3b\x30\x76\xc4\x50\x7f\xde\x59\x3a\xf8\x07\x8a\x6e\xfb\xea\x49\x5a\x76\x92\x94\x0c\xed\x4a\x43\x8f\x45\xbd\x7d\x48\x47\x56\x53\xeb\x2c\xc6\xd9\x0e\xd3\xc9\x3a\x87\xf6\xcb\x3a\xa3\x26\x94\x5d\x2e\x38\x3b\x34\xd1\x13\x7c\x6d\xe8\x61\x93\xec\xe1\x80\xea\xfe\x7f\xfe\x77\x0b\x00\x00\xff\xff\x42\x4e\x7f\xd8\xcf\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-02-03 21:23:29 +01:00
|
|
|
info := bindataFileInfo{name: "data/code_obj_type.json", size: 719, mode: os.FileMode(436), modTime: time.Unix(1580735934, 0)}
|
2019-12-29 08:50:56 +01:00
|
|
|
a := &asset{bytes: bytes, info: info}
|
|
|
|
return a, nil
|
|
|
|
}
|
|
|
|
|
2020-01-26 07:35:38 +01:00
|
|
|
var _dataConfigJson = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\x94\x90\xc1\x6e\xf2\x30\x10\x84\xcf\xe1\x29\xac\x3d\xff\x02\xf3\xa3\x52\x29\xe7\x4a\xbd\xf4\x0d\xaa\x2a\xda\xc4\x16\xb1\x6a\xc7\xc6\xde\xd0\x22\xc4\xbb\x57\x6b\x30\x84\x96\x1e\x7a\xb1\xe4\x6f\x76\x76\xc6\x3e\xcc\x84\x00\xd2\x56\x6f\x22\x3a\xa8\x05\xdf\x85\x80\x31\x5a\xa8\x05\xf4\x44\x21\xd5\x8b\x05\x06\x33\x2f\x43\x73\x1f\x37\xf0\xef\x34\x46\xfe\x5d\x0f\x3c\x08\x33\x21\x8e\x0c\x21\x6d\xed\x75\x8d\x8a\x66\xa7\x23\x0f\xb8\x3d\x0b\xc5\xb6\x0f\x9a\x21\x75\xa1\x20\x54\x2a\xea\x94\x98\x5a\xdf\xa1\xed\x7d\xa2\x7a\xb5\x92\xeb\x32\x30\x26\x1d\x07\x74\xd9\xd7\xf5\x26\x86\x41\x27\x2a\x62\xc0\x94\x3e\x7c\x54\x77\x45\x85\x84\x2d\xa6\x6f\xce\x4b\xe1\x88\x6d\x6b\x68\xf2\xf4\x74\x6a\xfc\xb7\x10\xee\x7b\x5b\xfe\x61\xfd\xf8\xff\x6a\xa5\xfe\x97\xf8\xd6\x4f\xb2\x51\x39\x33\x34\x86\x23\xe4\xd9\xba\x19\x8d\x55\x4d\x79\xf9\x33\xdf\x60\x2a\x65\xfa\xf2\x54\x98\x43\x33\x34\x5d\x8f\x74\xbb\x45\xe9\xe0\x93\xa1\x3b\x4a\xd4\xc1\xc7\x1f\x42\x05\x3b\x1c\x2d\x35\xd6\xb8\xfc\x37\xaf\xcc\xaa\x43\x3e\x2b\x30\xa4\x1d\x88\x5a\x80\x5c\xe6\xdc\x8a\x37\x55\xc0\xdd\xb7\xb4\xbf\xec\x38\x53\xfc\x3c\xd3\xa5\x94\x52\xe6\xd4\xea\xc8\xfa\x1b\x7f\xc2\xec\xf8\x15\x00\x00\xff\xff\x55\x56\x2a\x11\x83\x02\x00\x00")
|
2020-01-02 11:04:48 +01:00
|
|
|
|
|
|
|
func dataConfigJsonBytes() ([]byte, error) {
|
|
|
|
return bindataRead(
|
|
|
|
_dataConfigJson,
|
|
|
|
"data/config.json",
|
|
|
|
)
|
|
|
|
}
|
|
|
|
|
|
|
|
func dataConfigJson() (*asset, error) {
|
|
|
|
bytes, err := dataConfigJsonBytes()
|
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
|
2020-01-26 07:35:38 +01:00
|
|
|
info := bindataFileInfo{name: "data/config.json", size: 643, mode: os.FileMode(436), modTime: time.Unix(1580016739, 0)}
|
2020-01-02 11:04:48 +01:00
|
|
|
a := &asset{bytes: bytes, info: info}
|
|
|
|
return a, nil
|
|
|
|
}
|
|
|
|
|
2020-02-03 21:23:29 +01:00
|
|
|
var _dataMsg_rulesJson = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xec\xbd\xef\x8e\x1c\x47\x92\x27\xf8\x79\xe6\x29\x9c\x9c\x05\x58\x45\x56\x15\xff\x88\xa4\x24\xde\x82\xbc\x22\x29\x8a\x9c\x15\xd5\x6c\x91\x6a\x42\xcd\xe0\x14\x3c\x23\x2c\x33\xbc\xd3\xc3\x3d\xe8\xee\x91\xc9\x94\x28\x80\xd8\x9d\x39\xdc\xa1\x7b\x46\x7b\x6a\xdd\x34\xb6\x5b\x0d\x5e\x03\x3b\xfd\xe1\xb0\xc0\x36\xf6\xc3\x5d\x63\x80\x7b\x19\xbe\x40\xf3\x11\x16\x66\xe6\x1e\x11\x59\x99\x59\x55\xea\xa9\x92\x52\x0d\x35\x66\xa8\xac\x08\x8f\x08\x77\x73\x77\x73\xfb\xf3\x33\xb3\x27\x7f\x2d\xc4\x67\x7f\x2d\x84\x10\xa7\x6b\xa7\xec\xe9\x6b\xe2\xca\x85\x0b\x17\xb6\xf8\x4a\x01\x3e\x37\xa7\xaf\x89\xd3\x0f\xb4\x9c\x81\x13\x53\xe9\x84\x83\xda\xba\x70\x3a\xb6\x70\x8d\x06\x6c\xf0\x77\x1b\x37\x1e\xfc\xfb\x5b\xd2\x07\x0d\xd7\x9f\xbc\x79\xf5\x9f\xff\x8f\x37\xaf\x7e\xff\x0f\x6f\x5e\xfd\xe7\x7f\x7d\xf3\xea\xf7\xff\xfb\x9b\x57\xbf\xff\xc5\x9b\x57\xff\xf2\xd5\x9b\x57\xbf\xf8\x3f\x9f\x6e\x6e\x64\xd9\x13\x6c\xfd\x7e\xa3\x74\x71\xfd\xc9\xee\xf6\x4f\x2f\x6c\xbf\xfb\xf4\xb3\x8b\x5b\x6f\x7d\xbe\x99\x65\x4f\x37\x3f\xbb\xb0\x75\xf1\x73\x6c\xf0\xb1\x07\x77\x7d\x03\x1b\xc8\xed\x4f\x2f\x6c\xbf\x2b\x9e\x9e\xdd\xdc\x14\xaf\x7f\xfd\xd5\x35\xbc\xbb\x1b\x82\xcc\xc7\xd7\x9f\xe0\xc3\xe7\x36\xbb\x2b\xf7\x6d\x71\x3d\xcb\x36\x36\xb6\x5f\x64\xd9\xb9\x4d\xbe\x9d\x65\x9b\xfc\x5a\xf1\xe6\xd5\x6f\x7e\x47\x8f\xdf\x86\x21\x18\x0f\xe9\x79\xf1\xc1\x44\x5f\x13\x78\xe3\x03\x98\x80\x4e\x97\xb3\xcc\x7c\x62\x1b\x1c\xb4\x6f\x74\x10\xd6\x88\x50\x82\x18\xc8\x10\x34\x0c\x15\xe8\xe2\x5a\x96\x99\x8d\x37\xaf\xbe\xfa\x97\xf7\x9e\xd7\xfc\xfc\x7b\xcf\xeb\xf4\x74\x1c\x4a\x96\x99\xcd\xb3\x1b\x6f\x5e\x7d\xf9\x87\xf7\xad\x2e\xb8\x15\xfe\xba\x9e\x65\xdb\xd4\x62\x79\xf3\x5f\xfe\xfe\x61\xb0\xf9\x98\xdb\xd3\xcf\x03\x1f\x78\xfd\xdb\xff\xfa\xa7\x3f\x7e\x71\x37\xf6\xe2\xee\x03\x6c\xbc\xac\x1d\xbf\x4d\x56\xca\xc8\xeb\xd8\xf3\x9f\xc7\x3f\x70\x8c\xc1\x3a\x28\x36\x7b\xed\x69\x56\x9d\x0a\xd7\x37\x5e\xff\xfa\x77\xf8\x43\xe5\x52\x0b\x1f\x9c\x1a\x43\x6a\xf7\xef\xd2\x5a\xa8\xfc\x68\x2f\xcc\x6a\x5a\x0f\xf8\x9b\x57\xca\x9e\xcc\xc7\xa9\x45\x5e\xca\xb0\xa7\x8a\xd3\xd7\x44\x5a\x61\x8d\x07\x17\xaf\xfc\xb5\x10\x9f\x6f\x1d\x69\x35\xee\x36\x79\x50\xd6\x08\x69\x8c\x6d\x72\x58\x58\x8b\x1f\xd8\x20\xfe\x86\xe6\xd2\x86\x76\x82\x99\x2e\xf7\x02\x54\xd7\x77\xce\xe2\xc4\x6e\xfc\xb8\x91\x5a\x85\x19\xdf\x88\x7f\xc4\x7b\x91\x02\xb7\xac\x29\x14\x7e\x8a\xdb\xe0\x9f\x73\x0d\x1e\x82\xd6\xe0\xe2\x0c\xd1\xef\x23\x6e\x01\xd1\x92\xf8\x49\xf7\xec\xa1\x1b\x82\x9b\xd1\xb6\xd8\x39\xcb\x97\xb3\xcc\xdc\x6a\x9c\x03\x13\x44\xed\x54\x0e\xdc\x97\x07\xf8\xb3\x1d\x79\x6d\x9b\xbc\xcc\xb2\x0d\xf0\x59\x86\x7d\xbf\xd9\xcc\xa8\xd3\x1f\x5a\x03\x2f\xb0\x39\x5d\xf8\xf3\x7a\x4e\x8f\x1e\xda\x71\x6a\x35\xd7\x6f\xec\xc7\x7b\xa6\x10\xbb\x21\xee\x9a\x96\xb2\x0f\x83\x0c\x8d\x4f\xab\x1e\x7f\xe3\x8d\xb8\x78\x6f\xf8\x6b\x3b\x67\x37\x57\x2d\x38\xc9\xeb\x62\x8f\xd6\x85\xe9\x16\xc6\x31\x2d\xbb\x47\xaa\x5a\x5c\x6b\xf7\x8c\xb8\x55\xca\x20\x1e\x4b\xe7\xc5\xd4\x3a\x5d\x08\x63\xa7\x71\xeb\xe0\x13\x69\xb5\xe1\xa6\xb4\x8d\xe3\x59\xf9\xec\xd2\xe7\x9b\xc4\x86\xee\x2b\xd3\x04\xe8\x2e\xc6\x96\xb7\xe5\xac\xbb\x46\xa4\xb8\x6f\x4d\x28\xaf\xef\x9c\xe3\xbf\x3e\x01\x99\xde\x74\x99\x1e\xca\x32\xf3\x18\x64\x28\xc1\x89\xa1\x75\x90\x4b\x1f\xe2\xab\xe2\x65\xec\xc6\xeb\xff\xed\xcb\xde\x95\x0f\xe1\x79\x68\x3b\x47\x74\x5d\xb9\x93\x83\xaa\xe0\x04\xf6\xf1\x03\xa5\xb5\x1c\x81\xb8\x67\xf2\x05\xba\x7e\x62\x1b\x31\x05\x07\xc8\x6c\xac\xd6\xca\x8c\x84\x74\xb6\x31\x05\x32\xe1\x19\xf2\xe4\xd2\x3a\x0f\x62\x5a\x02\xfd\x2d\x8c\x0d\x2a\x87\x42\x1c\xf9\x78\xe1\xe3\x82\x29\x23\xec\x50\xec\x7c\xc6\xd7\xe3\x46\xd8\xb8\x6f\xad\xd1\x6a\x54\x86\x17\x8f\xad\x1e\xd6\x32\x1f\xbf\xb8\x0d\xe0\x4a\xeb\xcc\x8b\xdb\x4e\x8e\xac\xf1\xb9\xd4\xf0\xe2\x61\x29\xdd\x38\x00\x84\xf2\xc5\x03\x1b\x64\xb0\x2f\xee\xaa\x51\x69\xc0\x87\xcd\x4d\xc1\x2f\x13\xc1\xcd\x70\x04\xc1\x8a\x3a\x8e\x59\x0a\x6d\x91\x97\x4e\xf8\xef\x1d\xf1\xc8\x0a\x1f\x6c\x2d\x4a\x55\x89\x5c\xab\x7c\x2c\xce\x8f\xec\xca\x19\x89\xaf\xd9\x53\x1d\xe9\x8e\x69\x52\xde\xb7\x0b\x73\x71\x50\x47\x46\xf6\x84\x16\xc5\x92\x7e\xe0\x9a\xd0\x6a\x18\x44\x53\xf3\x12\xf0\x53\xeb\x0a\x21\x4d\x21\xf2\x52\x3a\xa4\x6a\xa0\x03\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-02-03 21:23:29 +01:00
|
|
|
info := bindataFileInfo{name: "data/msg_rules.json", size: 76404, mode: os.FileMode(436), modTime: time.Unix(1580735934, 0)}
|
2019-12-29 13:25:00 +01:00
|
|
|
a := &asset{bytes: bytes, info: info}
|
|
|
|
return a, nil
|
|
|
|
}
|
|
|
|
|
2020-02-03 21:23:29 +01:00
|
|
|
var _dataObj_itemJson = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xec\x7d\xdd\x6e\x23\x39\x76\xff\x7d\x3f\x45\xc1\x37\x73\xe3\x3f\xd6\xfa\x6c\x7b\xee\xda\xee\x0f\xcf\x4e\x7b\xd6\xdb\xea\xff\x36\x92\xc5\x60\x40\x4b\x94\x54\xeb\x52\x51\x5b\x55\xb2\xdb\x1b\x2c\x10\x04\xb9\x0b\x92\x05\x12\xe4\x63\x81\x04\x73\x99\x57\xd8\xe7\x99\x17\xd8\x7d\x84\xc0\xaa\x92\x54\x2a\x9e\x2a\x91\xc5\x1f\xc9\xee\x5e\xdf\x4d\x93\x1a\xfa\x77\x8a\xfc\x9d\x73\x78\x48\x9e\xf3\xeb\x67\x41\xf0\x77\xcf\x82\x20\x08\x8e\xc2\x8c\x2f\x7e\xc8\x1e\x96\xfc\xe8\xeb\xe2\x1f\x09\x4f\x8f\x8e\xf3\xce\xb1\x98\xac\xdb\x4f\x3a\x9b\x96\x7b\x1e\xce\xe6\xd9\xd1\xd7\x41\xa7\x68\xe0\x1f\xc7\x73\x16\xcf\xd6\x3f\xfb\x59\xf6\xc3\xee\x97\x6c\x35\xce\x42\x11\x1f\x7d\x1d\x4c\x59\x94\xf2\xcd\x88\x09\x9b\x66\xec\x26\xe2\x95\xf6\x98\x2d\x78\x7a\xf4\x75\xf0\xeb\xf5\x3f\x83\xe0\xe8\xfd\x3c\xe1\x6c\x72\xb4\xfe\xe7\xf7\xcf\x82\xe0\xf7\xc7\xba\x98\xbb\xca\x98\xbb\x20\xcc\xa3\x2c\x1c\xdf\x9a\x40\xee\x29\x43\xee\x81\x20\x5f\xf3\x28\x33\x41\xdc\x57\x46\xdc\x07\x21\x3e\x17\x31\x37\x41\x3c\x50\x46\x3c\x00\x21\xbe\x10\x2c\x32\x41\x3c\x54\x46\x3c\x44\x21\x9e\xb3\x64\x6c\x88\xfa\xb9\x32\xea\xe7\xa8\xb5\x2c\xee\x27\x3c\x31\xc1\x7c\x2a\x61\xee\xd6\x60\x3e\x05\x61\xfe\x26\x11\x71\xf0\x8b\x84\x17\xc3\x6d\x5a\x44\x62\xb4\xc6\xcf\x94\xbf\xfd\x19\x6a\xc5\x44\x22\x9b\x1b\x40\xee\x9c\xa8\x7e\xfa\xdd\x2f\x4d\xb5\x75\x18\xdd\xf1\x64\xff\xe3\x17\x6d\x66\x9f\xbf\x73\x22\x0b\x73\x42\x08\xa3\x2e\x47\x96\xac\x1a\x56\xfd\x6a\x3c\x0f\xc4\x34\x78\x23\x22\x13\x7b\xd9\x91\x6d\x7c\xdd\x0c\xa0\x6c\xfc\x39\x5b\x7d\x0c\x33\xa3\x4f\x2d\x1b\x79\x0a\x34\xe6\x4b\x5f\x88\x64\xf3\x81\xcb\xff\xe7\xd1\xd7\x05\xe4\xc7\x86\xc5\x64\xfd\x91\xd6\x1d\x3f\x6c\xd1\x05\xc1\xd1\x82\xc5\xec\x91\x87\x83\x6d\xcb\xa3\x4c\xe5\xf1\x83\xed\x30\x01\xe9\x7b\x15\xed\xbf\x5d\xb1\x38\x0b\xb3\x87\xa3\xaf\x83\xe7\xdb\xf6\xdf\x1f\x37\x0f\xd2\x39\xab\x1d\xa4\xb3\x1b\xa4\xf8\xaf\xef\x9f\x6d\xfe\xa5\x3f\x1f\xca\x1e\x4c\x07\xe5\xc1\x5c\xb1\x59\x38\x0e\x46\xd9\xa3\x5b\x70\xbc\xdf\x98\x66\x66\xbe\x42\x47\xf6\x6e\xec\xad\xae\x0f\x42\x4c\x78\x1c\x8c\xe6\x8f\x4b\xea\xb8\xd2\x9a\xae\x5b\xb5\xd6\x5e\x5f\x5e\x7b\x27\xda\x6b\xaf\x5b\xbb\x6c\x06\xca\x6b\x6f\x6b\xdf\x6d\xaf\x3d\xd9\xb3\xab\x53\x60\x28\xcf\x6e\xc4\x96\xcb\x79\x68\x66\x2c\x64\xef\xae\x0e\x35\xca\xbb\x1b\x89\xe8\x8e\xc7\x26\x6e\x7f\x47\x76\xee\xea\x40\xa3\x9c\xbb\x77\xab\x9b\x07\x13\xc4\xca\xae\x5d\x07\xe5\xda\x5d\xb2\x64\xc2\x63\x23\x87\xb4\x23\x3b\x72\x75\xa8\x35\x1c\xb9\x26\x2d\x34\xca\x38\x8f\xf4\x14\xcd\x19\x42\xd1\xd4\xeb\x88\xae\xba\xa2\x39\x55\x19\xc4\x5c\xd1\x74\x65\xf7\xae\xc6\xc8\x75\x35\x7c\xd5\xa6\x59\x79\xcb\x59\x36\xdf\xae\x24\xb5\x79\xd9\xfe\x6d\xa3\x79\xe9\xd5\x7e\xd2\x3e\xf4\x93\x2a\x07\x98\xba\x1a\xce\x67\xd3\x27\x3d\x17\x31\x0f\x8a\x1d\xe3\xf1\x5e\xe3\xb2\xbc\x8d\x54\xfc\xd6\x1d\xc4\xb7\xee\x3b\xfa\xd6\xca\x81\xb1\xae\x46\x60\xac\x59\xa9\x24\x61\x3c\xd3\xfb\xa2\x84\xeb\x8c\x74\x5f\x7a\xd0\x2f\xaa\xec\xf5\x76\x35\xbc\xde\xe6\xad\xc8\x2d\xd7\xfb\x9e\x3d\xc4\xf7\x1c\xaa\x7c\xcf\x43\x5a\x7a\xe0\x68\x52\xd4\x42\x93\xa0\x4d\xf8\x2a\x09\xa7\x21\x9f\x48\x1a\x65\xdb\xd1\x46\xab\x20\x5c\xf8\x6e\xfd\xf6\x51\xc3\xb2\x22\xcc\x73\xa7\xde\x96\x40\xf7\x01\x5d\x79\x1f\xd0\xb3\x36\xf1\x45\xc0\xe8\x45\x14\x89\x07\x29\x8c\xc4\xd6\xad\x5a\x53\x3e\x00\x44\x0c\xba\xf5\x86\xa4\xa3\x3e\x5b\x27\x88\x41\x1c\x85\x1d\xba\x6a\xfb\x11\xa0\x8b\x1c\x5c\x89\x68\x52\x9a\xf0\x75\xdb\x62\x17\x81\x53\x9c\xee\xe7\x88\xe9\xae\xb7\x72\x68\xdf\x19\xa2\x26\x00\xd3\xad\xb6\x99\x83\x32\xbc\x32\xdf\x79\xa3\xfe\x84\x9f\x7e\x2a\x13\xde\xc0\x6f\xf5\x41\xba\xf5\x2a\x1d\x3b\xe1\xf2\x3e\xd8\x9e\x4a\x3f\x8f\xd8\xf8\x36\x5d\x84\xd9\x3c\x78\x9d\xb0\x45\x29\xaa\x58\xea\x99\xae\x7b\xb4\xa6\x5e\xde\x27\x0f\xb4\xad\x79\xa7\xde\x9a\xab\x07\xe4\x1a\xec\x83\xba\x1b\xd7\xad\x57\x18\x50\xd5\xde\x93\x37\xdb\xf6\xa6\xfe\x45\x92\x85\x29\x8b\xab\xf3\xbe\x69\xd6\x9f\xf4\x9e\xbc\x09\xff\xac\x27\xdd\x51\x28\xb7\xa7\x1c\x0e\xe8\x81\xc2\x01\xef\xc4\x52\x73\x66\x21\x5b\xfe\xfa\x99\xed\xab\x4f\x4a\xbd\x39\xc0\x4e\x8a\xcb\xb3\xb6\xc2\xc0\x56\x88\x58\xb4\xb6\xe0\xa1\x1c\x4e\xe8\x21\x83\x94\xea\x3c\x6c\xb0\xbb\x1a\x64\x76\xb4\x87\xee\xc9\x81\x8d\x9a\xf
|
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-02-03 21:23:29 +01:00
|
|
|
info := bindataFileInfo{name: "data/obj_item.json", size: 138100, mode: os.FileMode(436), modTime: time.Unix(1580761370, 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_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_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, "/")...)...)
|
|
|
|
}
|