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