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