代码拉取完成,页面将自动刷新
// @generated Do not edit this file, which is automatically generated by the generator.
package dbschema
import (
"github.com/webx-top/db/lib/factory"
)
var WithPrefix = func(tableName string) string {
return "" + tableName
}
func init(){
factory.FieldRegister(map[string]map[string]*factory.FieldInfo{"access_log":{"body_bytes":{Name:"body_bytes", DataType:"bigint", Unsigned:true, PrimaryKey:false, AutoIncrement:false, Min:0, Max:1e+20, Precision:0, MaxSize:20, Options:[]string{}, DefaultValue:"0", Comment:"响应body字节数", GoType:"uint64", GoName:"BodyBytes"}, "brower_name":{Name:"brower_name", DataType:"varchar", Unsigned:false, PrimaryKey:false, AutoIncrement:false, Min:0, Max:0, Precision:0, MaxSize:60, Options:[]string{}, DefaultValue:"", Comment:"浏览器名", GoType:"string", GoName:"BrowerName"}, "brower_type":{Name:"brower_type", DataType:"varchar", Unsigned:false, PrimaryKey:false, AutoIncrement:false, Min:0, Max:0, Precision:0, MaxSize:20, Options:[]string{}, DefaultValue:"", Comment:"浏览器类型(spider/mobile/pc)", GoType:"string", GoName:"BrowerType"}, "created":{Name:"created", DataType:"int", Unsigned:true, PrimaryKey:false, AutoIncrement:false, Min:0, Max:9.9999999999e+10, Precision:0, MaxSize:11, Options:[]string{}, DefaultValue:"0", Comment:"创建时间", GoType:"uint", GoName:"Created"}, "elapsed":{Name:"elapsed", DataType:"decimal", Unsigned:true, PrimaryKey:false, AutoIncrement:false, Min:0, Max:9.999999999e+07, Precision:2, MaxSize:10, Options:[]string{}, DefaultValue:"0.00", Comment:"耗时(秒)", GoType:"float64", GoName:"Elapsed"}, "hit_status":{Name:"hit_status", DataType:"int", Unsigned:true, PrimaryKey:false, AutoIncrement:false, Min:0, Max:9.999999999e+09, Precision:0, MaxSize:10, Options:[]string{}, DefaultValue:"0", Comment:"缓存服务器命中状态", GoType:"uint", GoName:"HitStatus"}, "host":{Name:"host", DataType:"varchar", Unsigned:false, PrimaryKey:false, AutoIncrement:false, Min:0, Max:0, Precision:0, MaxSize:60, Options:[]string{}, DefaultValue:"", Comment:"Header中的Host, 一般会是域名", GoType:"string", GoName:"Host"}, "id":{Name:"id", DataType:"bigint", Unsigned:true, PrimaryKey:true, AutoIncrement:true, Min:0, Max:1e+20, Precision:0, MaxSize:20, Options:[]string{}, DefaultValue:"", Comment:"ID", GoType:"uint64", GoName:"Id"}, "local_addr":{Name:"local_addr", DataType:"varchar", Unsigned:false, PrimaryKey:false, AutoIncrement:false, Min:0, Max:0, Precision:0, MaxSize:120, Options:[]string{}, DefaultValue:"", Comment:"本机地址", GoType:"string", GoName:"LocalAddr"}, "method":{Name:"method", DataType:"varchar", Unsigned:false, PrimaryKey:false, AutoIncrement:false, Min:0, Max:0, Precision:0, MaxSize:10, Options:[]string{}, DefaultValue:"", Comment:"GET POST HEAD OPTIONS PUT DELETE...", GoType:"string", GoName:"Method"}, "minute":{Name:"minute", DataType:"varchar", Unsigned:false, PrimaryKey:false, AutoIncrement:false, Min:0, Max:0, Precision:0, MaxSize:5, Options:[]string{}, DefaultValue:"", Comment:"H:i", GoType:"string", GoName:"Minute"}, "referer":{Name:"referer", DataType:"varchar", Unsigned:false, PrimaryKey:false, AutoIncrement:false, Min:0, Max:0, Precision:0, MaxSize:255, Options:[]string{}, DefaultValue:"", Comment:"来源网址", GoType:"string", GoName:"Referer"}, "remote_addr":{Name:"remote_addr", DataType:"varchar", Unsigned:false, PrimaryKey:false, AutoIncrement:false, Min:0, Max:0, Precision:0, MaxSize:30, Options:[]string{}, DefaultValue:"", Comment:"IP地址", GoType:"string", GoName:"RemoteAddr"}, "scheme":{Name:"scheme", DataType:"varchar", Unsigned:false, PrimaryKey:false, AutoIncrement:false, Min:0, Max:0, Precision:0, MaxSize:10, Options:[]string{}, DefaultValue:"", Comment:"https/http", GoType:"string", GoName:"Scheme"}, "status_code":{Name:"status_code", DataType:"mediumint", Unsigned:true, PrimaryKey:false, AutoIncrement:false, Min:0, Max:99999, Precision:0, MaxSize:5, Options:[]string{}, DefaultValue:"0", Comment:"状态码", GoType:"uint", GoName:"StatusCode"}, "time_local":{Name:"time_local", DataType:"", Unsigned:false, PrimaryKey:false, AutoIncrement:false, Min:0, Max:0, Precision:0, MaxSize:0, Options:[]string{}, DefaultValue:"1970-01-01 00:00:00", Comment:"本地时间格式", GoType:"string", GoName:"TimeLocal"}, "uri":{Name:"uri", DataType:"varchar", Unsigned:false, PrimaryKey:false, AutoIncrement:false, Min:0, Max:0, Precision:0, MaxSize:255, Options:[]string{}, DefaultValue:"", Comment:"网址", GoType:"string", GoName:"Uri"}, "user":{Name:"user", DataType:"varchar", Unsigned:false, PrimaryKey:false, AutoIncrement:false, Min:0, Max:0, Precision:0, MaxSize:64, Options:[]string{}, DefaultValue:"", Comment:"用户", GoType:"string", GoName:"User"}, "user_agent":{Name:"user_agent", DataType:"varchar", Unsigned:false, PrimaryKey:false, AutoIncrement:false, Min:0, Max:0, Precision:0, MaxSize:255, Options:[]string{}, DefaultValue:"", Comment:"用户代理", GoType:"string", GoName:"UserAgent"}, "version":{Name:"version", DataType:"varchar", Unsigned:false, PrimaryKey:false, AutoIncrement:false, Min:0, Max:0, Precision:0, MaxSize:10, Options:[]string{}, DefaultValue:"", Comment:"HTTP/1.0, HTTP/1.1 ...", GoType:"string", GoName:"Version"}, "vhost_id":{Name:"vhost_id", DataType:"int", Unsigned:true, PrimaryKey:false, AutoIncrement:false, Min:0, Max:9.999999999e+09, Precision:0, MaxSize:10, Options:[]string{}, DefaultValue:"", Comment:"虚拟主机ID", GoType:"uint", GoName:"VhostId"}, "x_forward_for":{Name:"x_forward_for", DataType:"varchar", Unsigned:false, PrimaryKey:false, AutoIncrement:false, Min:0, Max:0, Precision:0, MaxSize:120, Options:[]string{}, DefaultValue:"", Comment:"IP", GoType:"string", GoName:"XForwardFor"}, "x_real_ip":{Name:"x_real_ip", DataType:"varchar", Unsigned:false, PrimaryKey:false, AutoIncrement:false, Min:0, Max:0, Precision:0, MaxSize:30, Options:[]string{}, DefaultValue:"", Comment:"IP", GoType:"string", GoName:"XRealIp"}}, "code_invitation":{"code":{Name:"code", DataType:"varchar", Unsigned:false, PrimaryKey:false, AutoIncrement:false, Min:0, Max:0, Precision:0, MaxSize:40, Options:[]string{}, DefaultValue:"", Comment:"邀请码", GoType:"string", GoName:"Code"}, "created":{Name:"created", DataType:"int", Unsigned:true, PrimaryKey:false, AutoIncrement:false, Min:0, Max:9.9999999999e+10, Precision:0, MaxSize:11, Options:[]string{}, DefaultValue:"", Comment:"创建时间", GoType:"uint", GoName:"Created"}, "disabled":{Name:"disabled", DataType:"enum", Unsigned:false, PrimaryKey:false, AutoIncrement:false, Min:0, Max:0, Precision:0, MaxSize:0, Options:[]string{"Y", "N"}, DefaultValue:"N", Comment:"是否禁用", GoType:"string", GoName:"Disabled"}, "end":{Name:"end", DataType:"int", Unsigned:true, PrimaryKey:false, AutoIncrement:false, Min:0, Max:9.9999999999e+10, Precision:0, MaxSize:11, Options:[]string{}, DefaultValue:"0", Comment:"失效时间", GoType:"uint", GoName:"End"}, "id":{Name:"id", DataType:"int", Unsigned:true, PrimaryKey:true, AutoIncrement:true, Min:0, Max:9.999999999e+09, Precision:0, MaxSize:10, Options:[]string{}, DefaultValue:"", Comment:"ID", GoType:"uint", GoName:"Id"}, "recv_uid":{Name:"recv_uid", DataType:"int", Unsigned:true, PrimaryKey:false, AutoIncrement:false, Min:0, Max:9.9999999999e+10, Precision:0, MaxSize:11, Options:[]string{}, DefaultValue:"0", Comment:"使用者", GoType:"uint", GoName:"RecvUid"}, "role_ids":{Name:"role_ids", DataType:"", Unsigned:false, PrimaryKey:false, AutoIncrement:false, Min:0, Max:0, Precision:0, MaxSize:0, Options:[]string{}, DefaultValue:"", Comment:"注册为角色(多个用“,”分隔开)", GoType:"string", GoName:"RoleIds"}, "start":{Name:"start", DataType:"int", Unsigned:true, PrimaryKey:false, AutoIncrement:false, Min:0, Max:9.9999999999e+10, Precision:0, MaxSize:11, Options:[]string{}, DefaultValue:"0", Comment:"有效时间", GoType:"uint", GoName:"Start"}, "uid":{Name:"uid", DataType:"int", Unsigned:true, PrimaryKey:false, AutoIncrement:false, Min:0, Max:9.9999999999e+10, Precision:0, MaxSize:11, Options:[]string{}, DefaultValue:"0", Comment:"创建者", GoType:"uint", GoName:"Uid"}, "used":{Name:"used", DataType:"int", Unsigned:true, PrimaryKey:false, AutoIncrement:false, Min:0, Max:9.9999999999e+10, Precision:0, MaxSize:11, Options:[]string{}, DefaultValue:"0", Comment:"使用时间", GoType:"uint", GoName:"Used"}}, "code_verification":{"code":{Name:"code", DataType:"varchar", Unsigned:false, PrimaryKey:false, AutoIncrement:false, Min:0, Max:0, Precision:0, MaxSize:40, Options:[]string{}, DefaultValue:"", Comment:"验证码", GoType:"string", GoName:"Code"}, "created":{Name:"created", DataType:"int", Unsigned:true, PrimaryKey:false, AutoIncrement:false, Min:0, Max:9.9999999999e+10, Precision:0, MaxSize:11, Options:[]string{}, DefaultValue:"", Comment:"创建时间", GoType:"uint", GoName:"Created"}, "disabled":{Name:"disabled", DataType:"enum", Unsigned:false, PrimaryKey:false, AutoIncrement:false, Min:0, Max:0, Precision:0, MaxSize:0, Options:[]string{"Y", "N"}, DefaultValue:"N", Comment:"是否禁用", GoType:"string", GoName:"Disabled"}, "end":{Name:"end", DataType:"int", Unsigned:true, PrimaryKey:false, AutoIncrement:false, Min:0, Max:9.9999999999e+10, Precision:0, MaxSize:11, Options:[]string{}, DefaultValue:"0", Comment:"失效时间", GoType:"uint", GoName:"End"}, "id":{Name:"id", DataType:"bigint", Unsigned:true, PrimaryKey:true, AutoIncrement:true, Min:0, Max:1e+20, Precision:0, MaxSize:20, Options:[]string{}, DefaultValue:"", Comment:"ID", GoType:"uint64", GoName:"Id"}, "owner_id":{Name:"owner_id", DataType:"bigint", Unsigned:true, PrimaryKey:false, AutoIncrement:false, Min:0, Max:1e+20, Precision:0, MaxSize:20, Options:[]string{}, DefaultValue:"0", Comment:"所有者ID", GoType:"uint64", GoName:"OwnerId"}, "owner_type":{Name:"owner_type", DataType:"enum", Unsigned:false, PrimaryKey:false, AutoIncrement:false, Min:0, Max:0, Precision:0, MaxSize:0, Options:[]string{"user", "customer"}, DefaultValue:"user", Comment:"所有者类型", GoType:"string", GoName:"OwnerType"}, "purpose":{Name:"purpose", DataType:"varchar", Unsigned:false, PrimaryKey:false, AutoIncrement:false, Min:0, Max:0, Precision:0, MaxSize:40, Options:[]string{}, DefaultValue:"", Comment:"目的", GoType:"string", GoName:"Purpose"}, "send_method":{Name:"send_method", DataType:"varchar", Unsigned:false, PrimaryKey:false, AutoIncrement:false, Min:0, Max:0, Precision:0, MaxSize:60, Options:[]string{}, DefaultValue:"mobile", Comment:"发送方式(mobile-手机;email-邮箱)", GoType:"string", GoName:"SendMethod"}, "send_to":{Name:"send_to", DataType:"varchar", Unsigned:false, PrimaryKey:false, AutoIncrement:false, Min:0, Max:0, Precision:0, MaxSize:120, Options:[]string{}, DefaultValue:"", Comment:"发送目标", GoType:"string", GoName:"SendTo"}, "start":{Name:"start", DataType:"int", Unsigned:true, PrimaryKey:false, AutoIncrement:false, Min:0, Max:9.9999999999e+10, Precision:0, MaxSize:11, Options:[]string{}, DefaultValue:"0", Comment:"有效时间", GoType:"uint", GoName:"Start"}, "used":{Name:"used", DataType:"int", Unsigned:true, PrimaryKey:false, AutoIncrement:false, Min:0, Max:9.9999999999e+10, Precision:0, MaxSize:11, Options:[]string{}, DefaultValue:"0", Comment:"使用时间", GoType:"uint", GoName:"Used"}}, "collector_export":{"created":{Name:"created", DataType:"int", Unsigned:true, PrimaryKey:false, AutoIncrement:false, Min:0, Max:9.9999999999e+10, Precision:0, MaxSize:11, Options:[]string{}, DefaultValue:"0", Comment:"创建时间", GoType:"uint", GoName:"Created"}, "description":{Name:"description", DataType:"varchar", Unsigned:false, PrimaryKey:false, AutoIncrement:false, Min:0, Max:0, Precision:0, MaxSize:255, Options:[]string{}, DefaultValue:"", Comment:"说明", GoType:"string", GoName:"Description"}, "dest":{Name:"dest", DataType:"varchar", Unsigned:false, PrimaryKey:false, AutoIncrement:false, Min:0, Max:0, Precision:0, MaxSize:300, Options:[]string{}, DefaultValue:"", Comment:"目标", GoType:"string", GoName:"Dest"}, "dest_type":{Name:"dest_type", DataType:"enum", Unsigned:false, PrimaryKey:false, AutoIncrement:false, Min:0, Max:0, Precision:0, MaxSize:0, Options:[]string{"API", "DSN", "dbAccountID"}, DefaultValue:"dbAccountID", Comment:"目标类型", GoType:"string", GoName:"DestType"}, "disabled":{Name:"disabled", DataType:"enum", Unsigned:false, PrimaryKey:false, AutoIncrement:false, Min:0, Max:0, Precision:0, MaxSize:0, Options:[]string{"Y", "N"}, DefaultValue:"N", Comment:"是否禁用", GoType:"string", GoName:"Disabled"}, "exported":{Name:"exported", DataType:"int", Unsigned:true, PrimaryKey:false, AutoIncrement:false, Min:0, Max:9.9999999999e+10, Precision:0, MaxSize:11, Options:[]string{}, DefaultValue:"0", Comment:"最近导出时间", GoType:"uint", GoName:"Exported"}, "group_id":{Name:"group_id", DataType:"int", Unsigned:true, PrimaryKey:false, AutoIncrement:false, Min:0, Max:9.9999999999e+10, Precision:0, MaxSize:11, Options:[]string{}, DefaultValue:"0", Comment:"组ID", GoType:"uint", GoName:"GroupId"}, "id":{Name:"id", DataType:"int", Unsigned:true, PrimaryKey:true, AutoIncrement:true, Min:0, Max:9.9999999999e+10, Precision:0, MaxSize:11, Options:[]string{}, DefaultValue:"", Comment:"ID", GoType:"uint", GoName:"Id"}, "mapping":{Name:"mapping", DataType:"", Unsigned:false, PrimaryKey:false, AutoIncrement:false, Min:0, Max:0, Precision:0, MaxSize:0, Options:[]string{}, DefaultValue:"", Comment:"字段映射", GoType:"string", GoName:"Mapping"}, "name":{Name:"name", DataType:"varchar", Unsigned:false, PrimaryKey:false, AutoIncrement:false, Min:0, Max:0, Precision:0, MaxSize:200, Options:[]string{}, DefaultValue:"", Comment:"方案名", GoType:"string", GoName:"Name"}, "page_id":{Name:"page_id", DataType:"int", Unsigned:true, PrimaryKey:false, AutoIncrement:false, Min:0, Max:9.9999999999e+10, Precision:0, MaxSize:11, Options:[]string{}, DefaultValue:"0", Comment:"页面ID", GoType:"uint", GoName:"PageId"}, "page_root":{Name:"page_root", DataType:"int", Unsigned:true, PrimaryKey:false, AutoIncrement:false, Min:0, Max:9.9999999999e+10, Precision:0, MaxSize:11, Options:[]string{}, DefaultValue:"0", Comment:"根页面ID", GoType:"uint", GoName:"PageRoot"}}, "collector_export_log":{"created":{Name:"created", DataType:"int", Unsigned:true, PrimaryKey:false, AutoIncrement:false, Min:0, Max:9.9999999999e+10, Precision:0, MaxSize:11, Options:[]string{}, DefaultValue:"0", Comment:"创建时间", GoType:"uint", GoName:"Created"}, "export_id":{Name:"export_id", DataType:"int", Unsigned:true, PrimaryKey:false, AutoIncrement:false, Min:0, Max:9.9999999999e+10, Precision:0, MaxSize:11, Options:[]string{}, DefaultValue:"0", Comment:"导出方案ID", GoType:"uint", GoName:"ExportId"}, "id":{Name:"id", DataType:"bigint", Unsigned:true, PrimaryKey:true, AutoIncrement:true, Min:0, Max:1e+20, Precision:0, MaxSize:20, Options:[]string{}, DefaultValue:"", Comment:"ID", GoType:"uint64", GoName:"Id"}, "page_id":{Name:"page_id", DataType:"int", Unsigned:true, PrimaryKey:false, AutoIncrement:false, Min:0, Max:9.9999999999e+10, Precision:0, MaxSize:11, Options:[]string{}, DefaultValue:"0", Comment:"页面规则ID", GoType:"uint", GoName:"PageId"}, "result":{Name:"result", DataType:"", Unsigned:false, PrimaryKey:false, AutoIncrement:false, Min:0, Max:0, Precision:0, MaxSize:0, Options:[]string{}, DefaultValue:"", Comment:"结果", GoType:"string", GoName:"Result"}, "status":{Name:"status", DataType:"enum", Unsigned:false, PrimaryKey:false, AutoIncrement:false, Min:0, Max:0, Precision:0, MaxSize:0, Options:[]string{"idle", "start", "success", "failure"}, DefaultValue:"idle", Comment:"状态", GoType:"string", GoName:"Status"}}, "collector_group":{"created":{Name:"created", DataType:"int", Unsigned:true, PrimaryKey:false, AutoIncrement:false, Min:0, Max:9.9999999999e+10, Precision:0, MaxSize:11, Options:[]string{}, DefaultValue:"0", Comment:"创建时间", GoType:"uint", GoName:"Created"}, "description":{Name:"description", DataType:"varchar", Unsigned:false, PrimaryKey:false, AutoIncrement:false, Min:0, Max:0, Precision:0, MaxSize:255, Options:[]string{}, DefaultValue:"", Comment:"说明", GoType:"string", GoName:"Description"}, "id":{Name:"id", DataType:"int", Unsigned:true, PrimaryKey:true, AutoIncrement:true, Min:0, Max:9.9999999999e+10, Precision:0, MaxSize:11, Options:[]string{}, DefaultValue:"", Comment:"ID", GoType:"uint", GoName:"Id"}, "name":{Name:"name", DataType:"varchar", Unsigned:false, PrimaryKey:false, AutoIncrement:false, Min:0, Max:0, Precision:0, MaxSize:120, Options:[]string{}, DefaultValue:"", Comment:"组名", GoType:"string", GoName:"Name"}, "type":{Name:"type", DataType:"enum", Unsigned:false, PrimaryKey:false, AutoIncrement:false, Min:0, Max:0, Precision:0, MaxSize:0, Options:[]string{"page", "export"}, DefaultValue:"page", Comment:"类型(page-页面规则组;export-导出规则组)", GoType:"string", GoName:"Type"}, "uid":{Name:"uid", DataType:"int", Unsigned:true, PrimaryKey:false, AutoIncrement:false, Min:0, Max:9.9999999999e+10, Precision:0, MaxSize:11, Options:[]string{}, DefaultValue:"0", Comment:"用户ID", GoType:"uint", GoName:"Uid"}}, "collector_history":{"content":{Name:"content", DataType:"char", Unsigned:false, PrimaryKey:false, AutoIncrement:false, Min:0, Max:0, Precision:0, MaxSize:32, Options:[]string{}, DefaultValue:"", Comment:"页面内容MD5", GoType:"string", GoName:"Content"}, "created":{Name:"created", DataType:"int", Unsigned:true, PrimaryKey:false, AutoIncrement:false, Min:0, Max:9.9999999999e+10, Precision:0, MaxSize:11, Options:[]string{}, DefaultValue:"0", Comment:"创建时间", GoType:"uint", GoName:"Created"}, "data":{Name:"data", DataType:"", Unsigned:false, PrimaryKey:false, AutoIncrement:false, Min:0, Max:0, Precision:0, MaxSize:0, Options:[]string{}, DefaultValue:"", Comment:"采集到的数据", GoType:"string", GoName:"Data"}, "exported":{Name:"exported", DataType:"int", Unsigned:true, PrimaryKey:false, AutoIncrement:false, Min:0, Max:9.9999999999e+10, Precision:0, MaxSize:11, Options:[]string{}, DefaultValue:"0", Comment:"最近导出时间", GoType:"uint", GoName:"Exported"}, "has_child":{Name:"has_child", DataType:"enum", Unsigned:false, PrimaryKey:false, AutoIncrement:false, Min:0, Max:0, Precision:0, MaxSize:0, Options:[]string{"N", "Y"}, DefaultValue:"N", Comment:"是否有子级", GoType:"string", GoName:"HasChild"}, "id":{Name:"id", DataType:"bigint", Unsigned:true, PrimaryKey:true, AutoIncrement:true, Min:0, Max:1.8446744073709552e+19, Precision:0, MaxSize:30, Options:[]string{}, DefaultValue:"", Comment:"ID", GoType:"uint64", GoName:"Id"}, "page_id":{Name:"page_id", DataType:"int", Unsigned:true, PrimaryKey:false, AutoIncrement:false, Min:0, Max:9.9999999999e+10, Precision:0, MaxSize:11, Options:[]string{}, DefaultValue:"0", Comment:"页面ID", GoType:"uint", GoName:"PageId"}, "page_parent_id":{Name:"page_parent_id", DataType:"int", Unsigned:true, PrimaryKey:false, AutoIncrement:false, Min:0, Max:9.9999999999e+10, Precision:0, MaxSize:11, Options:[]string{}, DefaultValue:"0", Comment:"父页面ID", GoType:"uint", GoName:"PageParentId"}, "page_root_id":{Name:"page_root_id", DataType:"int", Unsigned:true, PrimaryKey:false, AutoIncrement:false, Min:0, Max:9.9999999999e+10, Precision:0, MaxSize:11, Options:[]string{}, DefaultValue:"0", Comment:"入口页面ID", GoType:"uint", GoName:"PageRootId"}, "parent_id":{Name:"parent_id", DataType:"bigint", Unsigned:true, PrimaryKey:false, AutoIncrement:false, Min:0, Max:1.8446744073709552e+19, Precision:0, MaxSize:30, Options:[]string{}, DefaultValue:"0", Comment:"父ID", GoType:"uint64", GoName:"ParentId"}, "rule_md5":{Name:"rule_md5", DataType:"char", Unsigned:false, PrimaryKey:false, AutoIncrement:false, Min:0, Max:0, Precision:0, MaxSize:32, Options:[]string{}, DefaultValue:"", Comment:"规则标识MD5", GoType:"string", GoName:"RuleMd5"}, "title":{Name:"title", DataType:"varchar", Unsigned:false, PrimaryKey:false, AutoIncrement:false, Min:0, Max:0, Precision:0, MaxSize:200, Options:[]string{}, DefaultValue:"", Comment:"页面标题", GoType:"string", GoName:"Title"}, "url":{Name:"url", DataType:"varchar", Unsigned:false, PrimaryKey:false, AutoIncrement:false, Min:0, Max:0, Precision:0, MaxSize:300, Options:[]string{}, DefaultValue:"", Comment:"页面网址", GoType:"string", GoName:"Url"}, "url_md5":{Name:"url_md5", DataType:"char", Unsigned:false, PrimaryKey:false, AutoIncrement:false, Min:0, Max:0, Precision:0, MaxSize:32, Options:[]string{}, DefaultValue:"", Comment:"页面网址MD5", GoType:"string", GoName:"UrlMd5"}}, "collector_page":{"browser":{Name:"browser", DataType:"varchar", Unsigned:false, PrimaryKey:false, AutoIncrement:false, Min:0, Max:0, Precision:0, MaxSize:30, Options:[]string{}, DefaultValue:"", Comment:"浏览器", GoType:"string", GoName:"Browser"}, "charset":{Name:"charset", DataType:"varchar", Unsigned:false, PrimaryKey:false, AutoIncrement:false, Min:0, Max:0, Precision:0, MaxSize:30, Options:[]string{}, DefaultValue:"", Comment:"字符集", GoType:"string", GoName:"Charset"}, "content_type":{Name:"content_type", DataType:"enum", Unsigned:false, PrimaryKey:false, AutoIncrement:false, Min:0, Max:0, Precision:0, MaxSize:0, Options:[]string{"html", "json", "text"}, DefaultValue:"html", Comment:"内容类型", GoType:"string", GoName:"ContentType"}, "created":{Name:"created", DataType:"int", Unsigned:true, PrimaryKey:false, AutoIncrement:false, Min:0, Max:9.9999999999e+10, Precision:0, MaxSize:11, Options:[]string{}, DefaultValue:"0", Comment:"创建时间", GoType:"uint", GoName:"Created"}, "description":{Name:"description", DataType:"varchar", Unsigned:false, PrimaryKey:false, AutoIncrement:false, Min:0, Max:0, Precision:0, MaxSize:255, Options:[]string{}, DefaultValue:"", Comment:"说明", GoType:"string", GoName:"Description"}, "duplicate_rule":{Name:"duplicate_rule", DataType:"varchar", Unsigned:false, PrimaryKey:false, AutoIncrement:false, Min:0, Max:0, Precision:0, MaxSize:10, Options:[]string{}, DefaultValue:"none", Comment:"去重规则(url-判断网址;rule-判断规则是否改过;content-判断网页内容是否改过;none-不去重)", GoType:"string", GoName:"DuplicateRule"}, "enter_url":{Name:"enter_url", DataType:"", Unsigned:false, PrimaryKey:false, AutoIncrement:false, Min:0, Max:0, Precision:0, MaxSize:0, Options:[]string{}, DefaultValue:"", Comment:"入口网址模板(网址一行一个)", GoType:"string", GoName:"EnterUrl"}, "group_id":{Name:"group_id", DataType:"int", Unsigned:true, PrimaryKey:false, AutoIncrement:false, Min:0, Max:9.9999999999e+10, Precision:0, MaxSize:11, Options:[]string{}, DefaultValue:"0", Comment:"规则组", GoType:"uint", GoName:"GroupId"}, "has_child":{Name:"has_child", DataType:"enum", Unsigned:false, PrimaryKey:false, AutoIncrement:false, Min:0, Max:0, Precision:0, MaxSize:0, Options:[]string{"N", "Y"}, DefaultValue:"N", Comment:"是否有子级", GoType:"string", GoName:"HasChild"}, "id":{Name:"id", DataType:"int", Unsigned:true, PrimaryKey:true, AutoIncrement:true, Min:0, Max:9.9999999999e+10, Precision:0, MaxSize:11, Options:[]string{}, DefaultValue:"", Comment:"", GoType:"uint", GoName:"Id"}, "name":{Name:"name", DataType:"varchar", Unsigned:false, PrimaryKey:false, AutoIncrement:false, Min:0, Max:0, Precision:0, MaxSize:120, Options:[]string{}, DefaultValue:"", Comment:"规则名", GoType:"string", GoName:"Name"}, "parent_id":{Name:"parent_id", DataType:"int", Unsigned:true, PrimaryKey:false, AutoIncrement:false, Min:0, Max:9.9999999999e+10, Precision:0, MaxSize:11, Options:[]string{}, DefaultValue:"0", Comment:"父级规则", GoType:"uint", GoName:"ParentId"}, "proxy":{Name:"proxy", DataType:"varchar", Unsigned:false, PrimaryKey:false, AutoIncrement:false, Min:0, Max:0, Precision:0, MaxSize:255, Options:[]string{}, DefaultValue:"", Comment:"代理地址", GoType:"string", GoName:"Proxy"}, "root_id":{Name:"root_id", DataType:"int", Unsigned:true, PrimaryKey:false, AutoIncrement:false, Min:0, Max:9.9999999999e+10, Precision:0, MaxSize:11, Options:[]string{}, DefaultValue:"0", Comment:"根页面ID", GoType:"uint", GoName:"RootId"}, "scope_rule":{Name:"scope_rule", DataType:"varchar", Unsigned:false, PrimaryKey:false, AutoIncrement:false, Min:0, Max:0, Precision:0, MaxSize:300, Options:[]string{}, DefaultValue:"", Comment:"页面区域规则", GoType:"string", GoName:"ScopeRule"}, "sort":{Name:"sort", DataType:"int", Unsigned:false, PrimaryKey:false, AutoIncrement:false, Min:-9.9999999999e+10, Max:9.9999999999e+10, Precision:0, MaxSize:11, Options:[]string{}, DefaultValue:"0", Comment:"排序", GoType:"int", GoName:"Sort"}, "timeout":{Name:"timeout", DataType:"int", Unsigned:true, PrimaryKey:false, AutoIncrement:false, Min:0, Max:9.9999999999e+10, Precision:0, MaxSize:11, Options:[]string{}, DefaultValue:"0", Comment:"超时时间(秒)", GoType:"uint", GoName:"Timeout"}, "type":{Name:"type", DataType:"enum", Unsigned:false, PrimaryKey:false, AutoIncrement:false, Min:0, Max:0, Precision:0, MaxSize:0, Options:[]string{"list", "content"}, DefaultValue:"content", Comment:"页面类型", GoType:"string", GoName:"Type"}, "uid":{Name:"uid", DataType:"int", Unsigned:true, PrimaryKey:false, AutoIncrement:false, Min:0, Max:9.9999999999e+10, Precision:0, MaxSize:11, Options:[]string{}, DefaultValue:"0", Comment:"用户ID", GoType:"uint", GoName:"Uid"}, "waits":{Name:"waits", DataType:"varchar", Unsigned:false, PrimaryKey:false, AutoIncrement:false, Min:0, Max:0, Precision:0, MaxSize:100, Options:[]string{}, DefaultValue:"", Comment:"等待时间范围(秒),例如2-8", GoType:"string", GoName:"Waits"}}, "collector_rule":{"created":{Name:"created", DataType:"int", Unsigned:true, PrimaryKey:false, AutoIncrement:false, Min:0, Max:9.9999999999e+10, Precision:0, MaxSize:11, Options:[]string{}, DefaultValue:"0", Comment:"创建时间", GoType:"uint", GoName:"Created"}, "filter":{Name:"filter", DataType:"varchar", Unsigned:false, PrimaryKey:false, AutoIncrement:false, Min:0, Max:0, Precision:0, MaxSize:500, Options:[]string{}, DefaultValue:"", Comment:"过滤器", GoType:"string", GoName:"Filter"}, "id":{Name:"id", DataType:"int", Unsigned:true, PrimaryKey:true, AutoIncrement:true, Min:0, Max:9.9999999999e+10, Precision:0, MaxSize:11, Options:[]string{}, DefaultValue:"", Comment:"ID", GoType:"uint", GoName:"Id"}, "name":{Name:"name", DataType:"varchar", Unsigned:false, PrimaryKey:false, AutoIncrement:false, Min:0, Max:0, Precision:0, MaxSize:60, Options:[]string{}, DefaultValue:"", Comment:"保存匹配结果的变量名", GoType:"string", GoName:"Name"}, "page_id":{Name:"page_id", DataType:"int", Unsigned:true, PrimaryKey:false, AutoIncrement:false, Min:0, Max:9.9999999999e+10, Precision:0, MaxSize:11, Options:[]string{}, DefaultValue:"", Comment:"页面ID", GoType:"uint", GoName:"PageId"}, "rule":{Name:"rule", DataType:"", Unsigned:false, PrimaryKey:false, AutoIncrement:false, Min:0, Max:0, Precision:0, MaxSize:0, Options:[]string{}, DefaultValue:"", Comment:"规则", GoType:"string", GoName:"Rule"}, "sort":{Name:"sort", DataType:"int", Unsigned:false, PrimaryKey:false, AutoIncrement:false, Min:-9.9999999999e+10, Max:9.9999999999e+10, Precision:0, MaxSize:11, Options:[]string{}, DefaultValue:"0", Comment:"排序", GoType:"int", GoName:"Sort"}, "type":{Name:"type", DataType:"varchar", Unsigned:false, PrimaryKey:false, AutoIncrement:false, Min:0, Max:0, Precision:0, MaxSize:30, Options:[]string{}, DefaultValue:"string", Comment:"数据类型", GoType:"string", GoName:"Type"}}, "command":{"command":{Name:"command", DataType:"", Unsigned:false, PrimaryKey:false, AutoIncrement:false, Min:0, Max:0, Precision:0, MaxSize:0, Options:[]string{}, DefaultValue:"", Comment:"命令", GoType:"string", GoName:"Command"}, "created":{Name:"created", DataType:"int", Unsigned:true, PrimaryKey:false, AutoIncrement:false, Min:0, Max:9.999999999e+09, Precision:0, MaxSize:10, Options:[]string{}, DefaultValue:"", Comment:"添加时间", GoType:"uint", GoName:"Created"}, "description":{Name:"description", DataType:"", Unsigned:false, PrimaryKey:false, AutoIncrement:false, Min:0, Max:0, Precision:0, MaxSize:0, Options:[]string{}, DefaultValue:"", Comment:"说明", GoType:"string", GoName:"Description"}, "disabled":{Name:"disabled", DataType:"enum", Unsigned:false, PrimaryKey:false, AutoIncrement:false, Min:0, Max:0, Precision:0, MaxSize:0, Options:[]string{"Y", "N"}, DefaultValue:"N", Comment:"是否禁用", GoType:"string", GoName:"Disabled"}, "env":{Name:"env", DataType:"", Unsigned:false, PrimaryKey:false, AutoIncrement:false, Min:0, Max:0, Precision:0, MaxSize:0, Options:[]string{}, DefaultValue:"", Comment:"环境变量(一行一个,格式为:var1=val1)", GoType:"string", GoName:"Env"}, "id":{Name:"id", DataType:"int", Unsigned:true, PrimaryKey:true, AutoIncrement:true, Min:0, Max:9.999999999e+09, Precision:0, MaxSize:10, Options:[]string{}, DefaultValue:"", Comment:"ID", GoType:"uint", GoName:"Id"}, "name":{Name:"name", DataType:"varchar", Unsigned:false, PrimaryKey:false, AutoIncrement:false, Min:0, Max:0, Precision:0, MaxSize:60, Options:[]string{}, DefaultValue:"", Comment:"名称", GoType:"string", GoName:"Name"}, "remote":{Name:"remote", DataType:"enum", Unsigned:false, PrimaryKey:false, AutoIncrement:false, Min:0, Max:0, Precision:0, MaxSize:0, Options:[]string{"Y", "N"}, DefaultValue:"N", Comment:"是否执行远程SSH命令", GoType:"string", GoName:"Remote"}, "ssh_account_id":{Name:"ssh_account_id", DataType:"int", Unsigned:true, PrimaryKey:false, AutoIncrement:false, Min:0, Max:9.999999999e+09, Precision:0, MaxSize:10, Options:[]string{}, DefaultValue:"0", Comment:"SSH账号ID", GoType:"uint", GoName:"SshAccountId"}, "updated":{Name:"updated", DataType:"int", Unsigned:true, PrimaryKey:false, AutoIncrement:false, Min:0, Max:9.999999999e+09, Precision:0, MaxSize:10, Options:[]string{}, DefaultValue:"0", Comment:"修改时间", GoType:"uint", GoName:"Updated"}, "work_directory":{Name:"work_directory", DataType:"varchar", Unsigned:false, PrimaryKey:false, AutoIncrement:false, Min:0, Max:0, Precision:0, MaxSize:255, Options:[]string{}, DefaultValue:"", Comment:"工作目录", GoType:"string", GoName:"WorkDirectory"}}, "config":{"description":{Name:"description", DataType:"varchar", Unsigned:false, PrimaryKey:false, AutoIncrement:false, Min:0, Max:0, Precision:0, MaxSize:255, Options:[]string{}, DefaultValue:"", Comment:"简介", GoType:"string", GoName:"Description"}, "disabled":{Name:"disabled", DataType:"enum", Unsigned:false, PrimaryKey:false, AutoIncrement:false, Min:0, Max:0, Precision:0, MaxSize:0, Options:[]string{"Y", "N"}, DefaultValue:"N", Comment:"是否禁用", GoType:"string", GoName:"Disabled"}, "encrypted":{Name:"encrypted", DataType:"enum", Unsigned:false, PrimaryKey:false, AutoIncrement:false, Min:0, Max:0, Precision:0, MaxSize:0, Options:[]string{"Y", "N"}, DefaultValue:"N", Comment:"是否加密", GoType:"string", GoName:"Encrypted"}, "group":{Name:"group", DataType:"varchar", Unsigned:false, PrimaryKey:true, AutoIncrement:false, Min:0, Max:0, Precision:0, MaxSize:60, Options:[]string{}, DefaultValue:"", Comment:"组", GoType:"string", GoName:"Group"}, "key":{Name:"key", DataType:"varchar", Unsigned:false, PrimaryKey:true, AutoIncrement:false, Min:0, Max:0, Precision:0, MaxSize:60, Options:[]string{}, DefaultValue:"", Comment:"键", GoType:"string", GoName:"Key"}, "label":{Name:"label", DataType:"varchar", Unsigned:false, PrimaryKey:false, AutoIncrement:false, Min:0, Max:0, Precision:0, MaxSize:90, Options:[]string{}, DefaultValue:"", Comment:"选项名称", GoType:"string", GoName:"Label"}, "sort":{Name:"sort", DataType:"int", Unsigned:false, PrimaryKey:false, AutoIncrement:false, Min:-9.999999999e+09, Max:9.999999999e+09, Precision:0, MaxSize:10, Options:[]string{}, DefaultValue:"0", Comment:"排序", GoType:"int", GoName:"Sort"}, "type":{Name:"type", DataType:"enum", Unsigned:false, PrimaryKey:false, AutoIncrement:false, Min:0, Max:0, Precision:0, MaxSize:0, Options:[]string{"newsid", "prodid", "text", "url", "html", "image", "video", "audio", "file", "json", "list"}, DefaultValue:"text", Comment:"值类型(list-以半角逗号分隔的值列表)", GoType:"string", GoName:"Type"}, "value":{Name:"value", DataType:"varchar", Unsigned:false, PrimaryKey:false, AutoIncrement:false, Min:0, Max:0, Precision:0, MaxSize:2000, Options:[]string{}, DefaultValue:"", Comment:"值", GoType:"string", GoName:"Value"}}, "db_account":{"created":{Name:"created", DataType:"int", Unsigned:true, PrimaryKey:false, AutoIncrement:false, Min:0, Max:9.999999999e+09, Precision:0, MaxSize:10, Options:[]string{}, DefaultValue:"", Comment:"创建时间", GoType:"uint", GoName:"Created"}, "engine":{Name:"engine", DataType:"varchar", Unsigned:false, PrimaryKey:false, AutoIncrement:false, Min:0, Max:0, Precision:0, MaxSize:30, Options:[]string{}, DefaultValue:"mysql", Comment:"数据库引擎", GoType:"string", GoName:"Engine"}, "host":{Name:"host", DataType:"varchar", Unsigned:false, PrimaryKey:false, AutoIncrement:false, Min:0, Max:0, Precision:0, MaxSize:200, Options:[]string{}, DefaultValue:"localhost:3306", Comment:"服务器地址", GoType:"string", GoName:"Host"}, "id":{Name:"id", DataType:"int", Unsigned:true, PrimaryKey:true, AutoIncrement:true, Min:0, Max:9.999999999e+09, Precision:0, MaxSize:10, Options:[]string{}, DefaultValue:"", Comment:"ID", GoType:"uint", GoName:"Id"}, "name":{Name:"name", DataType:"varchar", Unsigned:false, PrimaryKey:false, AutoIncrement:false, Min:0, Max:0, Precision:0, MaxSize:120, Options:[]string{}, DefaultValue:"", Comment:"数据库名称", GoType:"string", GoName:"Name"}, "options":{Name:"options", DataType:"", Unsigned:false, PrimaryKey:false, AutoIncrement:false, Min:0, Max:0, Precision:0, MaxSize:0, Options:[]string{}, DefaultValue:"", Comment:"其它选项(JSON)", GoType:"string", GoName:"Options"}, "password":{Name:"password", DataType:"varchar", Unsigned:false, PrimaryKey:false, AutoIncrement:false, Min:0, Max:0, Precision:0, MaxSize:128, Options:[]string{}, DefaultValue:"", Comment:"密码", GoType:"string", GoName:"Password"}, "title":{Name:"title", DataType:"varchar", Unsigned:false, PrimaryKey:false, AutoIncrement:false, Min:0, Max:0, Precision:0, MaxSize:120, Options:[]string{}, DefaultValue:"", Comment:"标题", GoType:"string", GoName:"Title"}, "uid":{Name:"uid", DataType:"int", Unsigned:true, PrimaryKey:false, AutoIncrement:false, Min:0, Max:9.9999999999e+10, Precision:0, MaxSize:11, Options:[]string{}, DefaultValue:"", Comment:"UID", GoType:"uint", GoName:"Uid"}, "updated":{Name:"updated", DataType:"int", Unsigned:true, PrimaryKey:false, AutoIncrement:false, Min:0, Max:9.999999999e+09, Precision:0, MaxSize:10, Options:[]string{}, DefaultValue:"0", Comment:"修改时间", GoType:"uint", GoName:"Updated"}, "user":{Name:"user", DataType:"varchar", Unsigned:false, PrimaryKey:false, AutoIncrement:false, Min:0, Max:0, Precision:0, MaxSize:100, Options:[]string{}, DefaultValue:"root", Comment:"用户名", GoType:"string", GoName:"User"}}, "db_sync":{"alter_ignore":{Name:"alter_ignore", DataType:"", Unsigned:false, PrimaryKey:false, AutoIncrement:false, Min:0, Max:0, Precision:0, MaxSize:0, Options:[]string{}, DefaultValue:"", Comment:"要忽略的列、索引、外键", GoType:"string", GoName:"AlterIgnore"}, "created":{Name:"created", DataType:"int", Unsigned:true, PrimaryKey:false, AutoIncrement:false, Min:0, Max:9.9999999999e+10, Precision:0, MaxSize:11, Options:[]string{}, DefaultValue:"", Comment:"创建时间", GoType:"uint", GoName:"Created"}, "drop":{Name:"drop", DataType:"tinyint", Unsigned:true, PrimaryKey:false, AutoIncrement:false, Min:0, Max:9, Precision:0, MaxSize:1, Options:[]string{}, DefaultValue:"0", Comment:"删除待同步数据库中多余的字段、索引、外键 ", GoType:"uint", GoName:"Drop"}, "dsn_destination":{Name:"dsn_destination", DataType:"varchar", Unsigned:false, PrimaryKey:false, AutoIncrement:false, Min:0, Max:0, Precision:0, MaxSize:255, Options:[]string{}, DefaultValue:"", Comment:"目标数据库", GoType:"string", GoName:"DsnDestination"}, "dsn_source":{Name:"dsn_source", DataType:"varchar", Unsigned:false, PrimaryKey:false, AutoIncrement:false, Min:0, Max:0, Precision:0, MaxSize:255, Options:[]string{}, DefaultValue:"", Comment:"同步源", GoType:"string", GoName:"DsnSource"}, "id":{Name:"id", DataType:"int", Unsigned:true, PrimaryKey:true, AutoIncrement:true, Min:0, Max:9.999999999e+09, Precision:0, MaxSize:10, Options:[]string{}, DefaultValue:"", Comment:"", GoType:"uint", GoName:"Id"}, "mail_to":{Name:"mail_to", DataType:"varchar", Unsigned:false, PrimaryKey:false, AutoIncrement:false, Min:0, Max:0, Precision:0, MaxSize:200, Options:[]string{}, DefaultValue:"", Comment:"发送邮件", GoType:"string", GoName:"MailTo"}, "skip_tables":{Name:"skip_tables", DataType:"", Unsigned:false, PrimaryKey:false, AutoIncrement:false, Min:0, Max:0, Precision:0, MaxSize:0, Options:[]string{}, DefaultValue:"", Comment:"要跳过的表", GoType:"string", GoName:"SkipTables"}, "tables":{Name:"tables", DataType:"", Unsigned:false, PrimaryKey:false, AutoIncrement:false, Min:0, Max:0, Precision:0, MaxSize:0, Options:[]string{}, DefaultValue:"", Comment:"要同步的表", GoType:"string", GoName:"Tables"}, "updated":{Name:"updated", DataType:"int", Unsigned:false, PrimaryKey:false, AutoIncrement:false, Min:-9.9999999999e+10, Max:9.9999999999e+10, Precision:0, MaxSize:11, Options:[]string{}, DefaultValue:"0", Comment:"更新时间", GoType:"int", GoName:"Updated"}}, "db_sync_log":{"change_table_num":{Name:"change_table_num", DataType:"int", Unsigned:true, PrimaryKey:false, AutoIncrement:false, Min:0, Max:9.999999999e+09, Precision:0, MaxSize:10, Options:[]string{}, DefaultValue:"0", Comment:"被更改的表的数量", GoType:"uint", GoName:"ChangeTableNum"}, "change_tables":{Name:"change_tables", DataType:"", Unsigned:false, PrimaryKey:false, AutoIncrement:false, Min:0, Max:0, Precision:0, MaxSize:0, Options:[]string{}, DefaultValue:"", Comment:"被更改的表", GoType:"string", GoName:"ChangeTables"}, "created":{Name:"created", DataType:"int", Unsigned:true, PrimaryKey:false, AutoIncrement:false, Min:0, Max:9.9999999999e+10, Precision:0, MaxSize:11, Options:[]string{}, DefaultValue:"", Comment:"创建时间", GoType:"uint", GoName:"Created"}, "elapsed":{Name:"elapsed", DataType:"bigint", Unsigned:true, PrimaryKey:false, AutoIncrement:false, Min:0, Max:1e+20, Precision:0, MaxSize:20, Options:[]string{}, DefaultValue:"0", Comment:"总共耗时", GoType:"uint64", GoName:"Elapsed"}, "failed":{Name:"failed", DataType:"int", Unsigned:true, PrimaryKey:false, AutoIncrement:false, Min:0, Max:9.999999999e+09, Precision:0, MaxSize:10, Options:[]string{}, DefaultValue:"0", Comment:"失败次数", GoType:"uint", GoName:"Failed"}, "id":{Name:"id", DataType:"bigint", Unsigned:true, PrimaryKey:true, AutoIncrement:true, Min:0, Max:1e+20, Precision:0, MaxSize:20, Options:[]string{}, DefaultValue:"", Comment:"", GoType:"uint64", GoName:"Id"}, "result":{Name:"result", DataType:"", Unsigned:false, PrimaryKey:false, AutoIncrement:false, Min:0, Max:0, Precision:0, MaxSize:0, Options:[]string{}, DefaultValue:"", Comment:"结果报表", GoType:"string", GoName:"Result"}, "sync_id":{Name:"sync_id", DataType:"int", Unsigned:true, PrimaryKey:false, AutoIncrement:false, Min:0, Max:9.999999999e+09, Precision:0, MaxSize:10, Options:[]string{}, DefaultValue:"", Comment:"同步方案ID", GoType:"uint", GoName:"SyncId"}}, "forever_process":{"args":{Name:"args", DataType:"", Unsigned:false, PrimaryKey:false, AutoIncrement:false, Min:0, Max:0, Precision:0, MaxSize:0, Options:[]string{}, DefaultValue:"", Comment:"命令参数", GoType:"string", GoName:"Args"}, "command":{Name:"command", DataType:"varchar", Unsigned:false, PrimaryKey:false, AutoIncrement:false, Min:0, Max:0, Precision:0, MaxSize:300, Options:[]string{}, DefaultValue:"", Comment:"命令", GoType:"string", GoName:"Command"}, "created":{Name:"created", DataType:"int", Unsigned:true, PrimaryKey:false, AutoIncrement:false, Min:0, Max:9.9999999999e+10, Precision:0, MaxSize:11, Options:[]string{}, DefaultValue:"0", Comment:"创建时间", GoType:"uint", GoName:"Created"}, "debug":{Name:"debug", DataType:"enum", Unsigned:false, PrimaryKey:false, AutoIncrement:false, Min:0, Max:0, Precision:0, MaxSize:0, Options:[]string{"Y", "N"}, DefaultValue:"N", Comment:"DEBUG", GoType:"string", GoName:"Debug"}, "delay":{Name:"delay", DataType:"varchar", Unsigned:false, PrimaryKey:false, AutoIncrement:false, Min:0, Max:0, Precision:0, MaxSize:30, Options:[]string{}, DefaultValue:"", Comment:"延迟启动(例如1ms/1s/1m/1h)", GoType:"string", GoName:"Delay"}, "description":{Name:"description", DataType:"varchar", Unsigned:false, PrimaryKey:false, AutoIncrement:false, Min:0, Max:0, Precision:0, MaxSize:500, Options:[]string{}, DefaultValue:"", Comment:"说明", GoType:"string", GoName:"Description"}, "disabled":{Name:"disabled", DataType:"enum", Unsigned:false, PrimaryKey:false, AutoIncrement:false, Min:0, Max:0, Precision:0, MaxSize:0, Options:[]string{"Y", "N"}, DefaultValue:"N", Comment:"是否禁用", GoType:"string", GoName:"Disabled"}, "enable_notify":{Name:"enable_notify", DataType:"tinyint", Unsigned:true, PrimaryKey:false, AutoIncrement:false, Min:0, Max:9, Precision:0, MaxSize:1, Options:[]string{}, DefaultValue:"0", Comment:"是否启用通知", GoType:"uint", GoName:"EnableNotify"}, "env":{Name:"env", DataType:"", Unsigned:false, PrimaryKey:false, AutoIncrement:false, Min:0, Max:0, Precision:0, MaxSize:0, Options:[]string{}, DefaultValue:"", Comment:"环境变量", GoType:"string", GoName:"Env"}, "errfile":{Name:"errfile", DataType:"varchar", Unsigned:false, PrimaryKey:false, AutoIncrement:false, Min:0, Max:0, Precision:0, MaxSize:255, Options:[]string{}, DefaultValue:"", Comment:"错误记录文件", GoType:"string", GoName:"Errfile"}, "error":{Name:"error", DataType:"varchar", Unsigned:false, PrimaryKey:false, AutoIncrement:false, Min:0, Max:0, Precision:0, MaxSize:300, Options:[]string{}, DefaultValue:"", Comment:"错误信息", GoType:"string", GoName:"Error"}, "id":{Name:"id", DataType:"int", Unsigned:true, PrimaryKey:true, AutoIncrement:true, Min:0, Max:9.9999999999e+10, Precision:0, MaxSize:11, Options:[]string{}, DefaultValue:"", Comment:"ID", GoType:"uint", GoName:"Id"}, "lastrun":{Name:"lastrun", DataType:"int", Unsigned:true, PrimaryKey:false, AutoIncrement:false, Min:0, Max:9.9999999999e+10, Precision:0, MaxSize:11, Options:[]string{}, DefaultValue:"0", Comment:"上次运行时间", GoType:"uint", GoName:"Lastrun"}, "logfile":{Name:"logfile", DataType:"varchar", Unsigned:false, PrimaryKey:false, AutoIncrement:false, Min:0, Max:0, Precision:0, MaxSize:255, Options:[]string{}, DefaultValue:"", Comment:"日志记录文件", GoType:"string", GoName:"Logfile"}, "name":{Name:"name", DataType:"varchar", Unsigned:false, PrimaryKey:false, AutoIncrement:false, Min:0, Max:0, Precision:0, MaxSize:60, Options:[]string{}, DefaultValue:"", Comment:"名称", GoType:"string", GoName:"Name"}, "notify_email":{Name:"notify_email", DataType:"", Unsigned:false, PrimaryKey:false, AutoIncrement:false, Min:0, Max:0, Precision:0, MaxSize:0, Options:[]string{}, DefaultValue:"", Comment:"通知人列表", GoType:"string", GoName:"NotifyEmail"}, "pid":{Name:"pid", DataType:"int", Unsigned:false, PrimaryKey:false, AutoIncrement:false, Min:-9.9999999e+07, Max:9.9999999e+07, Precision:0, MaxSize:8, Options:[]string{}, DefaultValue:"0", Comment:"PID", GoType:"int", GoName:"Pid"}, "pidfile":{Name:"pidfile", DataType:"varchar", Unsigned:false, PrimaryKey:false, AutoIncrement:false, Min:0, Max:0, Precision:0, MaxSize:255, Options:[]string{}, DefaultValue:"", Comment:"PID记录文件", GoType:"string", GoName:"Pidfile"}, "ping":{Name:"ping", DataType:"varchar", Unsigned:false, PrimaryKey:false, AutoIncrement:false, Min:0, Max:0, Precision:0, MaxSize:30, Options:[]string{}, DefaultValue:"", Comment:"心跳时间(例如1ms/1s/1m/1h)", GoType:"string", GoName:"Ping"}, "respawn":{Name:"respawn", DataType:"int", Unsigned:true, PrimaryKey:false, AutoIncrement:false, Min:0, Max:9.9999999999e+10, Precision:0, MaxSize:11, Options:[]string{}, DefaultValue:"1", Comment:"重试次数(进程被外部程序结束后自动启动)", GoType:"uint", GoName:"Respawn"}, "status":{Name:"status", DataType:"enum", Unsigned:false, PrimaryKey:false, AutoIncrement:false, Min:0, Max:0, Precision:0, MaxSize:0, Options:[]string{"started", "running", "stopped", "restarted", "exited", "killed", "idle"}, DefaultValue:"idle", Comment:"进程运行状态", GoType:"string", GoName:"Status"}, "uid":{Name:"uid", DataType:"int", Unsigned:true, PrimaryKey:false, AutoIncrement:false, Min:0, Max:9.9999999999e+10, Precision:0, MaxSize:11, Options:[]string{}, DefaultValue:"0", Comment:"添加人ID", GoType:"uint", GoName:"Uid"}, "updated":{Name:"updated", DataType:"int", Unsigned:true, PrimaryKey:false, AutoIncrement:false, Min:0, Max:9.9999999999e+10, Precision:0, MaxSize:11, Options:[]string{}, DefaultValue:"0", Comment:"修改时间", GoType:"uint", GoName:"Updated"}, "workdir":{Name:"workdir", DataType:"varchar", Unsigned:false, PrimaryKey:false, AutoIncrement:false, Min:0, Max:0, Precision:0, MaxSize:255, Options:[]string{}, DefaultValue:"", Comment:"工作目录", GoType:"string", GoName:"Workdir"}}, "frp_client":{"admin_addr":{Name:"admin_addr", DataType:"varchar", Unsigned:false, PrimaryKey:false, AutoIncrement:false, Min:0, Max:0, Precision:0, MaxSize:128, Options:[]string{}, DefaultValue:"", Comment:"", GoType:"string", GoName:"AdminAddr"}, "admin_port":{Name:"admin_port", DataType:"int", Unsigned:true, PrimaryKey:false, AutoIncrement:false, Min:0, Max:99999, Precision:0, MaxSize:5, Options:[]string{}, DefaultValue:"0", Comment:"", GoType:"uint", GoName:"AdminPort"}, "admin_pwd":{Name:"admin_pwd", DataType:"varchar", Unsigned:false, PrimaryKey:false, AutoIncrement:false, Min:0, Max:0, Precision:0, MaxSize:128, Options:[]string{}, DefaultValue:"", Comment:"", GoType:"string", GoName:"AdminPwd"}, "admin_user":{Name:"admin_user", DataType:"varchar", Unsigned:false, PrimaryKey:false, AutoIncrement:false, Min:0, Max:0, Precision:0, MaxSize:128, Options:[]string{}, DefaultValue:"", Comment:"", GoType:"string", GoName:"AdminUser"}, "created":{Name:"created", DataType:"int", Unsigned:true, PrimaryKey:false, AutoIncrement:false, Min:0, Max:9.9999999999e+10, Precision:0, MaxSize:11, Options:[]string{}, DefaultValue:"0", Comment:"", GoType:"uint", GoName:"Created"}, "disabled":{Name:"disabled", DataType:"enum", Unsigned:false, PrimaryKey:false, AutoIncrement:false, Min:0, Max:0, Precision:0, MaxSize:0, Options:[]string{"Y", "N"}, DefaultValue:"N", Comment:"是否禁用", GoType:"string", GoName:"Disabled"}, "dns_server":{Name:"dns_server", DataType:"varchar", Unsigned:false, PrimaryKey:false, AutoIncrement:false, Min:0, Max:0, Precision:0, MaxSize:100, Options:[]string{}, DefaultValue:"", Comment:"", GoType:"string", GoName:"DnsServer"}, "extra":{Name:"extra", DataType:"", Unsigned:false, PrimaryKey:false, AutoIncrement:false, Min:0, Max:0, Precision:0, MaxSize:0, Options:[]string{}, DefaultValue:"", Comment:"", GoType:"string", GoName:"Extra"}, "group_id":{Name:"group_id", DataType:"int", Unsigned:true, PrimaryKey:false, AutoIncrement:false, Min:0, Max:9.9999999999e+10, Precision:0, MaxSize:11, Options:[]string{}, DefaultValue:"0", Comment:"", GoType:"uint", GoName:"GroupId"}, "heartbeat_interval":{Name:"heartbeat_interval", DataType:"bigint", Unsigned:false, PrimaryKey:false, AutoIncrement:false, Min:-1e+20, Max:1e+20, Precision:0, MaxSize:20, Options:[]string{}, DefaultValue:"30", Comment:"", GoType:"int64", GoName:"HeartbeatInterval"}, "heartbeat_timeout":{Name:"heartbeat_timeout", DataType:"bigint", Unsigned:false, PrimaryKey:false, AutoIncrement:false, Min:-1e+20, Max:1e+20, Precision:0, MaxSize:20, Options:[]string{}, DefaultValue:"90", Comment:"", GoType:"int64", GoName:"HeartbeatTimeout"}, "http_proxy":{Name:"http_proxy", DataType:"varchar", Unsigned:false, PrimaryKey:false, AutoIncrement:false, Min:0, Max:0, Precision:0, MaxSize:100, Options:[]string{}, DefaultValue:"", Comment:"", GoType:"string", GoName:"HttpProxy"}, "id":{Name:"id", DataType:"int", Unsigned:true, PrimaryKey:true, AutoIncrement:true, Min:0, Max:9.9999999999e+10, Precision:0, MaxSize:11, Options:[]string{}, DefaultValue:"", Comment:"ID", GoType:"uint", GoName:"Id"}, "log_file":{Name:"log_file", DataType:"varchar", Unsigned:false, PrimaryKey:false, AutoIncrement:false, Min:0, Max:0, Precision:0, MaxSize:255, Options:[]string{}, DefaultValue:"console", Comment:"", GoType:"string", GoName:"LogFile"}, "log_level":{Name:"log_level", DataType:"varchar", Unsigned:false, PrimaryKey:false, AutoIncrement:false, Min:0, Max:0, Precision:0, MaxSize:10, Options:[]string{}, DefaultValue:"info", Comment:"", GoType:"string", GoName:"LogLevel"}, "log_max_days":{Name:"log_max_days", DataType:"int", Unsigned:true, PrimaryKey:false, AutoIncrement:false, Min:0, Max:9.9999999999e+10, Precision:0, MaxSize:11, Options:[]string{}, DefaultValue:"3", Comment:"", GoType:"uint", GoName:"LogMaxDays"}, "log_way":{Name:"log_way", DataType:"varchar", Unsigned:false, PrimaryKey:false, AutoIncrement:false, Min:0, Max:0, Precision:0, MaxSize:10, Options:[]string{}, DefaultValue:"console", Comment:"console or file", GoType:"string", GoName:"LogWay"}, "login_fail_exit":{Name:"login_fail_exit", DataType:"enum", Unsigned:false, PrimaryKey:false, AutoIncrement:false, Min:0, Max:0, Precision:0, MaxSize:0, Options:[]string{"Y", "N"}, DefaultValue:"Y", Comment:"", GoType:"string", GoName:"LoginFailExit"}, "name":{Name:"name", DataType:"varchar", Unsigned:false, PrimaryKey:false, AutoIncrement:false, Min:0, Max:0, Precision:0, MaxSize:60, Options:[]string{}, DefaultValue:"", Comment:"名称", GoType:"string", GoName:"Name"}, "pool_count":{Name:"pool_count", DataType:"int", Unsigned:true, PrimaryKey:false, AutoIncrement:false, Min:0, Max:9.9999999999e+10, Precision:0, MaxSize:11, Options:[]string{}, DefaultValue:"1", Comment:"", GoType:"uint", GoName:"PoolCount"}, "protocol":{Name:"protocol", DataType:"varchar", Unsigned:false, PrimaryKey:false, AutoIncrement:false, Min:0, Max:0, Precision:0, MaxSize:10, Options:[]string{}, DefaultValue:"tcp", Comment:"tcp or kcp", GoType:"string", GoName:"Protocol"}, "server_addr":{Name:"server_addr", DataType:"varchar", Unsigned:false, PrimaryKey:false, AutoIncrement:false, Min:0, Max:0, Precision:0, MaxSize:100, Options:[]string{}, DefaultValue:"0.0.0.0", Comment:"", GoType:"string", GoName:"ServerAddr"}, "server_port":{Name:"server_port", DataType:"int", Unsigned:true, PrimaryKey:false, AutoIncrement:false, Min:0, Max:99999, Precision:0, MaxSize:5, Options:[]string{}, DefaultValue:"7000", Comment:"", GoType:"uint", GoName:"ServerPort"}, "start":{Name:"start", DataType:"varchar", Unsigned:false, PrimaryKey:false, AutoIncrement:false, Min:0, Max:0, Precision:0, MaxSize:2000, Options:[]string{}, DefaultValue:"", Comment:"要启动的代理节点名称,留空代表全部,多个用半角逗号隔开", GoType:"string", GoName:"Start"}, "tcp_mux":{Name:"tcp_mux", DataType:"enum", Unsigned:false, PrimaryKey:false, AutoIncrement:false, Min:0, Max:0, Precision:0, MaxSize:0, Options:[]string{"Y", "N"}, DefaultValue:"Y", Comment:"必须跟服务端一致", GoType:"string", GoName:"TcpMux"}, "token":{Name:"token", DataType:"varchar", Unsigned:false, PrimaryKey:false, AutoIncrement:false, Min:0, Max:0, Precision:0, MaxSize:128, Options:[]string{}, DefaultValue:"", Comment:"", GoType:"string", GoName:"Token"}, "type":{Name:"type", DataType:"varchar", Unsigned:false, PrimaryKey:false, AutoIncrement:false, Min:0, Max:0, Precision:0, MaxSize:120, Options:[]string{}, DefaultValue:"web", Comment:"", GoType:"string", GoName:"Type"}, "uid":{Name:"uid", DataType:"int", Unsigned:true, PrimaryKey:false, AutoIncrement:false, Min:0, Max:9.9999999999e+10, Precision:0, MaxSize:11, Options:[]string{}, DefaultValue:"0", Comment:"", GoType:"uint", GoName:"Uid"}, "updated":{Name:"updated", DataType:"int", Unsigned:true, PrimaryKey:false, AutoIncrement:false, Min:0, Max:9.9999999999e+10, Precision:0, MaxSize:11, Options:[]string{}, DefaultValue:"0", Comment:"", GoType:"uint", GoName:"Updated"}, "user":{Name:"user", DataType:"varchar", Unsigned:false, PrimaryKey:false, AutoIncrement:false, Min:0, Max:0, Precision:0, MaxSize:100, Options:[]string{}, DefaultValue:"", Comment:"", GoType:"string", GoName:"User"}}, "frp_group":{"created":{Name:"created", DataType:"int", Unsigned:true, PrimaryKey:false, AutoIncrement:false, Min:0, Max:9.9999999999e+10, Precision:0, MaxSize:11, Options:[]string{}, DefaultValue:"0", Comment:"创建时间", GoType:"uint", GoName:"Created"}, "description":{Name:"description", DataType:"varchar", Unsigned:false, PrimaryKey:false, AutoIncrement:false, Min:0, Max:0, Precision:0, MaxSize:255, Options:[]string{}, DefaultValue:"", Comment:"说明", GoType:"string", GoName:"Description"}, "id":{Name:"id", DataType:"int", Unsigned:true, PrimaryKey:true, AutoIncrement:true, Min:0, Max:9.9999999999e+10, Precision:0, MaxSize:11, Options:[]string{}, DefaultValue:"", Comment:"", GoType:"uint", GoName:"Id"}, "name":{Name:"name", DataType:"varchar", Unsigned:false, PrimaryKey:false, AutoIncrement:false, Min:0, Max:0, Precision:0, MaxSize:60, Options:[]string{}, DefaultValue:"", Comment:"组名", GoType:"string", GoName:"Name"}, "uid":{Name:"uid", DataType:"int", Unsigned:true, PrimaryKey:false, AutoIncrement:false, Min:0, Max:9.9999999999e+10, Precision:0, MaxSize:11, Options:[]string{}, DefaultValue:"0", Comment:"用户ID", GoType:"uint", GoName:"Uid"}, "updated":{Name:"updated", DataType:"int", Unsigned:true, PrimaryKey:false, AutoIncrement:false, Min:0, Max:9.9999999999e+10, Precision:0, MaxSize:11, Options:[]string{}, DefaultValue:"0", Comment:"修改时间", GoType:"uint", GoName:"Updated"}}, "frp_server":{"addr":{Name:"addr", DataType:"varchar", Unsigned:false, PrimaryKey:false, AutoIncrement:false, Min:0, Max:0, Precision:0, MaxSize:100, Options:[]string{}, DefaultValue:"0.0.0.0", Comment:"", GoType:"string", GoName:"Addr"}, "allow_ports":{Name:"allow_ports", DataType:"varchar", Unsigned:false, PrimaryKey:false, AutoIncrement:false, Min:0, Max:0, Precision:0, MaxSize:2000, Options:[]string{}, DefaultValue:"", Comment:"", GoType:"string", GoName:"AllowPorts"}, "auth_timeout":{Name:"auth_timeout", DataType:"bigint", Unsigned:true, PrimaryKey:false, AutoIncrement:false, Min:0, Max:1e+20, Precision:0, MaxSize:20, Options:[]string{}, DefaultValue:"900", Comment:"", GoType:"uint64", GoName:"AuthTimeout"}, "created":{Name:"created", DataType:"int", Unsigned:true, PrimaryKey:false, AutoIncrement:false, Min:0, Max:9.9999999999e+10, Precision:0, MaxSize:11, Options:[]string{}, DefaultValue:"0", Comment:"", GoType:"uint", GoName:"Created"}, "dashboard_addr":{Name:"dashboard_addr", DataType:"varchar", Unsigned:false, PrimaryKey:false, AutoIncrement:false, Min:0, Max:0, Precision:0, MaxSize:128, Options:[]string{}, DefaultValue:"0.0.0.0", Comment:"", GoType:"string", GoName:"DashboardAddr"}, "dashboard_port":{Name:"dashboard_port", DataType:"int", Unsigned:true, PrimaryKey:false, AutoIncrement:false, Min:0, Max:99999, Precision:0, MaxSize:5, Options:[]string{}, DefaultValue:"0", Comment:"", GoType:"uint", GoName:"DashboardPort"}, "dashboard_pwd":{Name:"dashboard_pwd", DataType:"varchar", Unsigned:false, PrimaryKey:false, AutoIncrement:false, Min:0, Max:0, Precision:0, MaxSize:128, Options:[]string{}, DefaultValue:"admin", Comment:"", GoType:"string", GoName:"DashboardPwd"}, "dashboard_user":{Name:"dashboard_user", DataType:"varchar", Unsigned:false, PrimaryKey:false, AutoIncrement:false, Min:0, Max:0, Precision:0, MaxSize:128, Options:[]string{}, DefaultValue:"admin", Comment:"", GoType:"string", GoName:"DashboardUser"}, "disabled":{Name:"disabled", DataType:"enum", Unsigned:false, PrimaryKey:false, AutoIncrement:false, Min:0, Max:0, Precision:0, MaxSize:0, Options:[]string{"Y", "N"}, DefaultValue:"N", Comment:"是否禁用", GoType:"string", GoName:"Disabled"}, "extra":{Name:"extra", DataType:"", Unsigned:false, PrimaryKey:false, AutoIncrement:false, Min:0, Max:0, Precision:0, MaxSize:0, Options:[]string{}, DefaultValue:"", Comment:"", GoType:"string", GoName:"Extra"}, "group_id":{Name:"group_id", DataType:"int", Unsigned:true, PrimaryKey:false, AutoIncrement:false, Min:0, Max:9.9999999999e+10, Precision:0, MaxSize:11, Options:[]string{}, DefaultValue:"0", Comment:"", GoType:"uint", GoName:"GroupId"}, "heart_beat_timeout":{Name:"heart_beat_timeout", DataType:"int", Unsigned:true, PrimaryKey:false, AutoIncrement:false, Min:0, Max:9.999999999e+09, Precision:0, MaxSize:10, Options:[]string{}, DefaultValue:"90", Comment:"", GoType:"uint", GoName:"HeartBeatTimeout"}, "id":{Name:"id", DataType:"int", Unsigned:true, PrimaryKey:true, AutoIncrement:true, Min:0, Max:9.9999999999e+10, Precision:0, MaxSize:11, Options:[]string{}, DefaultValue:"", Comment:"ID", GoType:"uint", GoName:"Id"}, "kcp_port":{Name:"kcp_port", DataType:"int", Unsigned:true, PrimaryKey:false, AutoIncrement:false, Min:0, Max:99999, Precision:0, MaxSize:5, Options:[]string{}, DefaultValue:"0", Comment:"", GoType:"uint", GoName:"KcpPort"}, "log_file":{Name:"log_file", DataType:"varchar", Unsigned:false, PrimaryKey:false, AutoIncrement:false, Min:0, Max:0, Precision:0, MaxSize:255, Options:[]string{}, DefaultValue:"console", Comment:"", GoType:"string", GoName:"LogFile"}, "log_level":{Name:"log_level", DataType:"varchar", Unsigned:false, PrimaryKey:false, AutoIncrement:false, Min:0, Max:0, Precision:0, MaxSize:10, Options:[]string{}, DefaultValue:"info", Comment:"", GoType:"string", GoName:"LogLevel"}, "log_max_days":{Name:"log_max_days", DataType:"int", Unsigned:true, PrimaryKey:false, AutoIncrement:false, Min:0, Max:9.9999999999e+10, Precision:0, MaxSize:11, Options:[]string{}, DefaultValue:"3", Comment:"", GoType:"uint", GoName:"LogMaxDays"}, "log_way":{Name:"log_way", DataType:"varchar", Unsigned:false, PrimaryKey:false, AutoIncrement:false, Min:0, Max:0, Precision:0, MaxSize:10, Options:[]string{}, DefaultValue:"console", Comment:"console or file", GoType:"string", GoName:"LogWay"}, "max_pool_count":{Name:"max_pool_count", DataType:"int", Unsigned:true, PrimaryKey:false, AutoIncrement:false, Min:0, Max:9.999999999e+09, Precision:0, MaxSize:10, Options:[]string{}, DefaultValue:"5", Comment:"", GoType:"uint", GoName:"MaxPoolCount"}, "max_ports_per_client":{Name:"max_ports_per_client", DataType:"bigint", Unsigned:false, PrimaryKey:false, AutoIncrement:false, Min:-1e+20, Max:1e+20, Precision:0, MaxSize:20, Options:[]string{}, DefaultValue:"0", Comment:"", GoType:"int64", GoName:"MaxPortsPerClient"}, "name":{Name:"name", DataType:"varchar", Unsigned:false, PrimaryKey:false, AutoIncrement:false, Min:0, Max:0, Precision:0, MaxSize:60, Options:[]string{}, DefaultValue:"", Comment:"名称", GoType:"string", GoName:"Name"}, "port":{Name:"port", DataType:"int", Unsigned:true, PrimaryKey:false, AutoIncrement:false, Min:0, Max:99999, Precision:0, MaxSize:5, Options:[]string{}, DefaultValue:"7000", Comment:"", GoType:"uint", GoName:"Port"}, "proxy_addr":{Name:"proxy_addr", DataType:"varchar", Unsigned:false, PrimaryKey:false, AutoIncrement:false, Min:0, Max:0, Precision:0, MaxSize:100, Options:[]string{}, DefaultValue:"0.0.0.0", Comment:"", GoType:"string", GoName:"ProxyAddr"}, "subdomain_host":{Name:"subdomain_host", DataType:"varchar", Unsigned:false, PrimaryKey:false, AutoIncrement:false, Min:0, Max:0, Precision:0, MaxSize:255, Options:[]string{}, DefaultValue:"", Comment:"", GoType:"string", GoName:"SubdomainHost"}, "tcp_mux":{Name:"tcp_mux", DataType:"enum", Unsigned:false, PrimaryKey:false, AutoIncrement:false, Min:0, Max:0, Precision:0, MaxSize:0, Options:[]string{"Y", "N"}, DefaultValue:"Y", Comment:"", GoType:"string", GoName:"TcpMux"}, "token":{Name:"token", DataType:"varchar", Unsigned:false, PrimaryKey:false, AutoIncrement:false, Min:0, Max:0, Precision:0, MaxSize:128, Options:[]string{}, DefaultValue:"", Comment:"", GoType:"string", GoName:"Token"}, "udp_port":{Name:"udp_port", DataType:"int", Unsigned:true, PrimaryKey:false, AutoIncrement:false, Min:0, Max:99999, Precision:0, MaxSize:5, Options:[]string{}, DefaultValue:"0", Comment:"", GoType:"uint", GoName:"UdpPort"}, "uid":{Name:"uid", DataType:"int", Unsigned:true, PrimaryKey:false, AutoIncrement:false, Min:0, Max:9.9999999999e+10, Precision:0, MaxSize:11, Options:[]string{}, DefaultValue:"0", Comment:"", GoType:"uint", GoName:"Uid"}, "updated":{Name:"updated", DataType:"int", Unsigned:true, PrimaryKey:false, AutoIncrement:false, Min:0, Max:9.9999999999e+10, Precision:0, MaxSize:11, Options:[]string{}, DefaultValue:"0", Comment:"", GoType:"uint", GoName:"Updated"}, "user_conn_timeout":{Name:"user_conn_timeout", DataType:"int", Unsigned:true, PrimaryKey:false, AutoIncrement:false, Min:0, Max:9.999999999e+09, Precision:0, MaxSize:10, Options:[]string{}, DefaultValue:"10", Comment:"", GoType:"uint", GoName:"UserConnTimeout"}, "vhost_http_port":{Name:"vhost_http_port", DataType:"int", Unsigned:true, PrimaryKey:false, AutoIncrement:false, Min:0, Max:99999, Precision:0, MaxSize:5, Options:[]string{}, DefaultValue:"0", Comment:"", GoType:"uint", GoName:"VhostHttpPort"}, "vhost_http_timeout":{Name:"vhost_http_timeout", DataType:"bigint", Unsigned:true, PrimaryKey:false, AutoIncrement:false, Min:0, Max:1e+20, Precision:0, MaxSize:20, Options:[]string{}, DefaultValue:"0", Comment:"", GoType:"uint64", GoName:"VhostHttpTimeout"}, "vhost_https_port":{Name:"vhost_https_port", DataType:"int", Unsigned:true, PrimaryKey:false, AutoIncrement:false, Min:0, Max:99999, Precision:0, MaxSize:5, Options:[]string{}, DefaultValue:"0", Comment:"", GoType:"uint", GoName:"VhostHttpsPort"}}, "ftp_user":{"banned":{Name:"banned", DataType:"enum", Unsigned:false, PrimaryKey:false, AutoIncrement:false, Min:0, Max:0, Precision:0, MaxSize:0, Options:[]string{"Y", "N"}, DefaultValue:"N", Comment:"是否禁止连接", GoType:"string", GoName:"Banned"}, "created":{Name:"created", DataType:"int", Unsigned:true, PrimaryKey:false, AutoIncrement:false, Min:0, Max:9.999999999e+09, Precision:0, MaxSize:10, Options:[]string{}, DefaultValue:"", Comment:"创建时间 ", GoType:"uint", GoName:"Created"}, "directory":{Name:"directory", DataType:"varchar", Unsigned:false, PrimaryKey:false, AutoIncrement:false, Min:0, Max:0, Precision:0, MaxSize:500, Options:[]string{}, DefaultValue:"", Comment:"授权目录(一行一个) ", GoType:"string", GoName:"Directory"}, "group_id":{Name:"group_id", DataType:"int", Unsigned:true, PrimaryKey:false, AutoIncrement:false, Min:0, Max:9.999999999e+09, Precision:0, MaxSize:10, Options:[]string{}, DefaultValue:"0", Comment:"用户组", GoType:"uint", GoName:"GroupId"}, "id":{Name:"id", DataType:"int", Unsigned:true, PrimaryKey:true, AutoIncrement:true, Min:0, Max:9.999999999e+09, Precision:0, MaxSize:10, Options:[]string{}, DefaultValue:"", Comment:"", GoType:"uint", GoName:"Id"}, "ip_blacklist":{Name:"ip_blacklist", DataType:"", Unsigned:false, PrimaryKey:false, AutoIncrement:false, Min:0, Max:0, Precision:0, MaxSize:0, Options:[]string{}, DefaultValue:"", Comment:"IP黑名单(一行一个) ", GoType:"string", GoName:"IpBlacklist"}, "ip_whitelist":{Name:"ip_whitelist", DataType:"", Unsigned:false, PrimaryKey:false, AutoIncrement:false, Min:0, Max:0, Precision:0, MaxSize:0, Options:[]string{}, DefaultValue:"", Comment:"IP白名单(一行一个) ", GoType:"string", GoName:"IpWhitelist"}, "password":{Name:"password", DataType:"varchar", Unsigned:false, PrimaryKey:false, AutoIncrement:false, Min:0, Max:0, Precision:0, MaxSize:150, Options:[]string{}, DefaultValue:"", Comment:"密码", GoType:"string", GoName:"Password"}, "updated":{Name:"updated", DataType:"int", Unsigned:true, PrimaryKey:false, AutoIncrement:false, Min:0, Max:9.999999999e+09, Precision:0, MaxSize:10, Options:[]string{}, DefaultValue:"0", Comment:"修改时间", GoType:"uint", GoName:"Updated"}, "username":{Name:"username", DataType:"varchar", Unsigned:false, PrimaryKey:false, AutoIncrement:false, Min:0, Max:0, Precision:0, MaxSize:120, Options:[]string{}, DefaultValue:"", Comment:"用户名", GoType:"string", GoName:"Username"}}, "ftp_user_group":{"banned":{Name:"banned", DataType:"enum", Unsigned:false, PrimaryKey:false, AutoIncrement:false, Min:0, Max:0, Precision:0, MaxSize:0, Options:[]string{"Y", "N"}, DefaultValue:"N", Comment:"是否禁止组内用户连接", GoType:"string", GoName:"Banned"}, "created":{Name:"created", DataType:"int", Unsigned:true, PrimaryKey:false, AutoIncrement:false, Min:0, Max:9.999999999e+09, Precision:0, MaxSize:10, Options:[]string{}, DefaultValue:"", Comment:"创建时间", GoType:"uint", GoName:"Created"}, "directory":{Name:"directory", DataType:"varchar", Unsigned:false, PrimaryKey:false, AutoIncrement:false, Min:0, Max:0, Precision:0, MaxSize:500, Options:[]string{}, DefaultValue:"", Comment:"授权目录", GoType:"string", GoName:"Directory"}, "disabled":{Name:"disabled", DataType:"enum", Unsigned:false, PrimaryKey:false, AutoIncrement:false, Min:0, Max:0, Precision:0, MaxSize:0, Options:[]string{"Y", "N"}, DefaultValue:"N", Comment:"是否禁用", GoType:"string", GoName:"Disabled"}, "id":{Name:"id", DataType:"int", Unsigned:true, PrimaryKey:true, AutoIncrement:true, Min:0, Max:9.999999999e+09, Precision:0, MaxSize:10, Options:[]string{}, DefaultValue:"", Comment:"", GoType:"uint", GoName:"Id"}, "ip_blacklist":{Name:"ip_blacklist", DataType:"", Unsigned:false, PrimaryKey:false, AutoIncrement:false, Min:0, Max:0, Precision:0, MaxSize:0, Options:[]string{}, DefaultValue:"", Comment:"IP黑名单(一行一个)", GoType:"string", GoName:"IpBlacklist"}, "ip_whitelist":{Name:"ip_whitelist", DataType:"", Unsigned:false, PrimaryKey:false, AutoIncrement:false, Min:0, Max:0, Precision:0, MaxSize:0, Options:[]string{}, DefaultValue:"", Comment:"IP白名单(一行一个)", GoType:"string", GoName:"IpWhitelist"}, "name":{Name:"name", DataType:"varchar", Unsigned:false, PrimaryKey:false, AutoIncrement:false, Min:0, Max:0, Precision:0, MaxSize:255, Options:[]string{}, DefaultValue:"", Comment:"组名称", GoType:"string", GoName:"Name"}, "updated":{Name:"updated", DataType:"int", Unsigned:true, PrimaryKey:false, AutoIncrement:false, Min:0, Max:9.999999999e+09, Precision:0, MaxSize:10, Options:[]string{}, DefaultValue:"0", Comment:"修改时间", GoType:"uint", GoName:"Updated"}}, "sending_log":{"appointment_time":{Name:"appointment_time", DataType:"int", Unsigned:true, PrimaryKey:false, AutoIncrement:false, Min:0, Max:9.9999999999e+10, Precision:0, MaxSize:11, Options:[]string{}, DefaultValue:"0", Comment:"预约发送时间", GoType:"uint", GoName:"AppointmentTime"}, "content":{Name:"content", DataType:"varchar", Unsigned:false, PrimaryKey:false, AutoIncrement:false, Min:0, Max:0, Precision:0, MaxSize:255, Options:[]string{}, DefaultValue:"", Comment:"发送消息内容", GoType:"string", GoName:"Content"}, "created":{Name:"created", DataType:"int", Unsigned:true, PrimaryKey:false, AutoIncrement:false, Min:0, Max:9.9999999999e+10, Precision:0, MaxSize:11, Options:[]string{}, DefaultValue:"", Comment:"创建时间", GoType:"uint", GoName:"Created"}, "disabled":{Name:"disabled", DataType:"enum", Unsigned:false, PrimaryKey:false, AutoIncrement:false, Min:0, Max:0, Precision:0, MaxSize:0, Options:[]string{"Y", "N"}, DefaultValue:"N", Comment:"是否禁用", GoType:"string", GoName:"Disabled"}, "id":{Name:"id", DataType:"bigint", Unsigned:true, PrimaryKey:true, AutoIncrement:true, Min:0, Max:1e+20, Precision:0, MaxSize:20, Options:[]string{}, DefaultValue:"", Comment:"ID", GoType:"uint64", GoName:"Id"}, "method":{Name:"method", DataType:"varchar", Unsigned:false, PrimaryKey:false, AutoIncrement:false, Min:0, Max:0, Precision:0, MaxSize:60, Options:[]string{}, DefaultValue:"mobile", Comment:"发送方式(mobile-手机;email-邮箱)", GoType:"string", GoName:"Method"}, "params":{Name:"params", DataType:"varchar", Unsigned:false, PrimaryKey:false, AutoIncrement:false, Min:0, Max:0, Precision:0, MaxSize:255, Options:[]string{}, DefaultValue:"", Comment:"发送消息参数(JSON)", GoType:"string", GoName:"Params"}, "provider":{Name:"provider", DataType:"varchar", Unsigned:false, PrimaryKey:false, AutoIncrement:false, Min:0, Max:0, Precision:0, MaxSize:60, Options:[]string{}, DefaultValue:"", Comment:"发送平台", GoType:"string", GoName:"Provider"}, "result":{Name:"result", DataType:"varchar", Unsigned:false, PrimaryKey:false, AutoIncrement:false, Min:0, Max:0, Precision:0, MaxSize:255, Options:[]string{}, DefaultValue:"", Comment:"发送结果描述", GoType:"string", GoName:"Result"}, "retries":{Name:"retries", DataType:"int", Unsigned:true, PrimaryKey:false, AutoIncrement:false, Min:0, Max:9.999999999e+09, Precision:0, MaxSize:10, Options:[]string{}, DefaultValue:"0", Comment:"重试次数", GoType:"uint", GoName:"Retries"}, "sent_at":{Name:"sent_at", DataType:"int", Unsigned:true, PrimaryKey:false, AutoIncrement:false, Min:0, Max:9.9999999999e+10, Precision:0, MaxSize:11, Options:[]string{}, DefaultValue:"", Comment:"发送时间", GoType:"uint", GoName:"SentAt"}, "source_id":{Name:"source_id", DataType:"bigint", Unsigned:true, PrimaryKey:false, AutoIncrement:false, Min:0, Max:1e+20, Precision:0, MaxSize:20, Options:[]string{}, DefaultValue:"0", Comment:"来源ID", GoType:"uint64", GoName:"SourceId"}, "source_type":{Name:"source_type", DataType:"varchar", Unsigned:false, PrimaryKey:false, AutoIncrement:false, Min:0, Max:0, Precision:0, MaxSize:30, Options:[]string{}, DefaultValue:"user", Comment:"来源类型", GoType:"string", GoName:"SourceType"}, "status":{Name:"status", DataType:"enum", Unsigned:false, PrimaryKey:false, AutoIncrement:false, Min:0, Max:0, Precision:0, MaxSize:0, Options:[]string{"success", "failure", "waiting", "queued", "none"}, DefaultValue:"waiting", Comment:"发送状态(none-无需发送)", GoType:"string", GoName:"Status"}, "to":{Name:"to", DataType:"varchar", Unsigned:false, PrimaryKey:false, AutoIncrement:false, Min:0, Max:0, Precision:0, MaxSize:120, Options:[]string{}, DefaultValue:"", Comment:"发送目标", GoType:"string", GoName:"To"}}, "ssh_user":{"charset":{Name:"charset", DataType:"varchar", Unsigned:false, PrimaryKey:false, AutoIncrement:false, Min:0, Max:0, Precision:0, MaxSize:30, Options:[]string{}, DefaultValue:"", Comment:"字符集", GoType:"string", GoName:"Charset"}, "created":{Name:"created", DataType:"int", Unsigned:true, PrimaryKey:false, AutoIncrement:false, Min:0, Max:9.999999999e+09, Precision:0, MaxSize:10, Options:[]string{}, DefaultValue:"", Comment:"创建时间", GoType:"uint", GoName:"Created"}, "description":{Name:"description", DataType:"", Unsigned:false, PrimaryKey:false, AutoIncrement:false, Min:0, Max:0, Precision:0, MaxSize:0, Options:[]string{}, DefaultValue:"", Comment:"说明", GoType:"string", GoName:"Description"}, "group_id":{Name:"group_id", DataType:"int", Unsigned:true, PrimaryKey:false, AutoIncrement:false, Min:0, Max:9.9999999999e+10, Precision:0, MaxSize:11, Options:[]string{}, DefaultValue:"0", Comment:"组", GoType:"uint", GoName:"GroupId"}, "host":{Name:"host", DataType:"varchar", Unsigned:false, PrimaryKey:false, AutoIncrement:false, Min:0, Max:0, Precision:0, MaxSize:200, Options:[]string{}, DefaultValue:"localhost", Comment:"主机名", GoType:"string", GoName:"Host"}, "id":{Name:"id", DataType:"int", Unsigned:true, PrimaryKey:true, AutoIncrement:true, Min:0, Max:9.999999999e+09, Precision:0, MaxSize:10, Options:[]string{}, DefaultValue:"", Comment:"ID", GoType:"uint", GoName:"Id"}, "name":{Name:"name", DataType:"varchar", Unsigned:false, PrimaryKey:false, AutoIncrement:false, Min:0, Max:0, Precision:0, MaxSize:120, Options:[]string{}, DefaultValue:"", Comment:"账号名称", GoType:"string", GoName:"Name"}, "options":{Name:"options", DataType:"", Unsigned:false, PrimaryKey:false, AutoIncrement:false, Min:0, Max:0, Precision:0, MaxSize:0, Options:[]string{}, DefaultValue:"", Comment:"其它选项(JSON)", GoType:"string", GoName:"Options"}, "passphrase":{Name:"passphrase", DataType:"varchar", Unsigned:false, PrimaryKey:false, AutoIncrement:false, Min:0, Max:0, Precision:0, MaxSize:120, Options:[]string{}, DefaultValue:"", Comment:"私钥口令", GoType:"string", GoName:"Passphrase"}, "password":{Name:"password", DataType:"varchar", Unsigned:false, PrimaryKey:false, AutoIncrement:false, Min:0, Max:0, Precision:0, MaxSize:225, Options:[]string{}, DefaultValue:"", Comment:"密码", GoType:"string", GoName:"Password"}, "port":{Name:"port", DataType:"int", Unsigned:false, PrimaryKey:false, AutoIncrement:false, Min:-99, Max:99, Precision:0, MaxSize:2, Options:[]string{}, DefaultValue:"0", Comment:"端口", GoType:"int", GoName:"Port"}, "private_key":{Name:"private_key", DataType:"varchar", Unsigned:false, PrimaryKey:false, AutoIncrement:false, Min:0, Max:0, Precision:0, MaxSize:5000, Options:[]string{}, DefaultValue:"", Comment:"私钥内容", GoType:"string", GoName:"PrivateKey"}, "protocol":{Name:"protocol", DataType:"varchar", Unsigned:false, PrimaryKey:false, AutoIncrement:false, Min:0, Max:0, Precision:0, MaxSize:255, Options:[]string{}, DefaultValue:"", Comment:"连接协议", GoType:"string", GoName:"Protocol"}, "uid":{Name:"uid", DataType:"int", Unsigned:true, PrimaryKey:false, AutoIncrement:false, Min:0, Max:9.9999999999e+10, Precision:0, MaxSize:11, Options:[]string{}, DefaultValue:"", Comment:"UID", GoType:"uint", GoName:"Uid"}, "updated":{Name:"updated", DataType:"int", Unsigned:true, PrimaryKey:false, AutoIncrement:false, Min:0, Max:9.999999999e+09, Precision:0, MaxSize:10, Options:[]string{}, DefaultValue:"0", Comment:"修改时间", GoType:"uint", GoName:"Updated"}, "username":{Name:"username", DataType:"varchar", Unsigned:false, PrimaryKey:false, AutoIncrement:false, Min:0, Max:0, Precision:0, MaxSize:100, Options:[]string{}, DefaultValue:"root", Comment:"用户名", GoType:"string", GoName:"Username"}}, "ssh_user_group":{"created":{Name:"created", DataType:"int", Unsigned:true, PrimaryKey:false, AutoIncrement:false, Min:0, Max:9.9999999999e+10, Precision:0, MaxSize:11, Options:[]string{}, DefaultValue:"0", Comment:"创建时间", GoType:"uint", GoName:"Created"}, "description":{Name:"description", DataType:"varchar", Unsigned:false, PrimaryKey:false, AutoIncrement:false, Min:0, Max:0, Precision:0, MaxSize:255, Options:[]string{}, DefaultValue:"", Comment:"说明", GoType:"string", GoName:"Description"}, "id":{Name:"id", DataType:"int", Unsigned:true, PrimaryKey:true, AutoIncrement:true, Min:0, Max:9.9999999999e+10, Precision:0, MaxSize:11, Options:[]string{}, DefaultValue:"", Comment:"", GoType:"uint", GoName:"Id"}, "name":{Name:"name", DataType:"varchar", Unsigned:false, PrimaryKey:false, AutoIncrement:false, Min:0, Max:0, Precision:0, MaxSize:60, Options:[]string{}, DefaultValue:"", Comment:"组名", GoType:"string", GoName:"Name"}, "uid":{Name:"uid", DataType:"int", Unsigned:true, PrimaryKey:false, AutoIncrement:false, Min:0, Max:9.9999999999e+10, Precision:0, MaxSize:11, Options:[]string{}, DefaultValue:"0", Comment:"用户ID", GoType:"uint", GoName:"Uid"}, "updated":{Name:"updated", DataType:"int", Unsigned:true, PrimaryKey:false, AutoIncrement:false, Min:0, Max:9.9999999999e+10, Precision:0, MaxSize:11, Options:[]string{}, DefaultValue:"0", Comment:"修改时间", GoType:"uint", GoName:"Updated"}}, "task":{"closed_log":{Name:"closed_log", DataType:"enum", Unsigned:false, PrimaryKey:false, AutoIncrement:false, Min:0, Max:0, Precision:0, MaxSize:0, Options:[]string{"Y", "N"}, DefaultValue:"N", Comment:"是否(Y/N)关闭日志", GoType:"string", GoName:"ClosedLog"}, "command":{Name:"command", DataType:"", Unsigned:false, PrimaryKey:false, AutoIncrement:false, Min:0, Max:0, Precision:0, MaxSize:0, Options:[]string{}, DefaultValue:"", Comment:"命令详情", GoType:"string", GoName:"Command"}, "concurrent":{Name:"concurrent", DataType:"tinyint", Unsigned:true, PrimaryKey:false, AutoIncrement:false, Min:0, Max:9, Precision:0, MaxSize:1, Options:[]string{}, DefaultValue:"0", Comment:"是否支持多实例", GoType:"uint", GoName:"Concurrent"}, "created":{Name:"created", DataType:"int", Unsigned:true, PrimaryKey:false, AutoIncrement:false, Min:0, Max:9.9999999999e+10, Precision:0, MaxSize:11, Options:[]string{}, DefaultValue:"0", Comment:"创建时间", GoType:"uint", GoName:"Created"}, "cron_spec":{Name:"cron_spec", DataType:"varchar", Unsigned:false, PrimaryKey:false, AutoIncrement:false, Min:0, Max:0, Precision:0, MaxSize:100, Options:[]string{}, DefaultValue:"", Comment:"时间表达式", GoType:"string", GoName:"CronSpec"}, "description":{Name:"description", DataType:"varchar", Unsigned:false, PrimaryKey:false, AutoIncrement:false, Min:0, Max:0, Precision:0, MaxSize:200, Options:[]string{}, DefaultValue:"", Comment:"任务描述", GoType:"string", GoName:"Description"}, "disabled":{Name:"disabled", DataType:"enum", Unsigned:false, PrimaryKey:false, AutoIncrement:false, Min:0, Max:0, Precision:0, MaxSize:0, Options:[]string{"Y", "N"}, DefaultValue:"N", Comment:"是否禁用", GoType:"string", GoName:"Disabled"}, "enable_notify":{Name:"enable_notify", DataType:"tinyint", Unsigned:true, PrimaryKey:false, AutoIncrement:false, Min:0, Max:9, Precision:0, MaxSize:1, Options:[]string{}, DefaultValue:"0", Comment:"是否启用通知", GoType:"uint", GoName:"EnableNotify"}, "env":{Name:"env", DataType:"", Unsigned:false, PrimaryKey:false, AutoIncrement:false, Min:0, Max:0, Precision:0, MaxSize:0, Options:[]string{}, DefaultValue:"", Comment:"环境变量(一行一个,格式为:var1=val1)", GoType:"string", GoName:"Env"}, "execute_times":{Name:"execute_times", DataType:"int", Unsigned:true, PrimaryKey:false, AutoIncrement:false, Min:0, Max:9.9999999999e+10, Precision:0, MaxSize:11, Options:[]string{}, DefaultValue:"0", Comment:"累计执行次数", GoType:"uint", GoName:"ExecuteTimes"}, "group_id":{Name:"group_id", DataType:"int", Unsigned:true, PrimaryKey:false, AutoIncrement:false, Min:0, Max:9.9999999999e+10, Precision:0, MaxSize:11, Options:[]string{}, DefaultValue:"0", Comment:"分组ID", GoType:"uint", GoName:"GroupId"}, "id":{Name:"id", DataType:"int", Unsigned:true, PrimaryKey:true, AutoIncrement:true, Min:0, Max:9.9999999999e+10, Precision:0, MaxSize:11, Options:[]string{}, DefaultValue:"", Comment:"", GoType:"uint", GoName:"Id"}, "name":{Name:"name", DataType:"varchar", Unsigned:false, PrimaryKey:false, AutoIncrement:false, Min:0, Max:0, Precision:0, MaxSize:50, Options:[]string{}, DefaultValue:"", Comment:"任务名称", GoType:"string", GoName:"Name"}, "notify_email":{Name:"notify_email", DataType:"", Unsigned:false, PrimaryKey:false, AutoIncrement:false, Min:0, Max:0, Precision:0, MaxSize:0, Options:[]string{}, DefaultValue:"", Comment:"通知人列表", GoType:"string", GoName:"NotifyEmail"}, "prev_time":{Name:"prev_time", DataType:"int", Unsigned:true, PrimaryKey:false, AutoIncrement:false, Min:0, Max:9.999999999e+09, Precision:0, MaxSize:10, Options:[]string{}, DefaultValue:"0", Comment:"上次执行时间", GoType:"uint", GoName:"PrevTime"}, "timeout":{Name:"timeout", DataType:"bigint", Unsigned:true, PrimaryKey:false, AutoIncrement:false, Min:0, Max:1e+20, Precision:0, MaxSize:20, Options:[]string{}, DefaultValue:"0", Comment:"超时设置", GoType:"uint64", GoName:"Timeout"}, "type":{Name:"type", DataType:"tinyint", Unsigned:false, PrimaryKey:false, AutoIncrement:false, Min:-128, Max:127, Precision:0, MaxSize:4, Options:[]string{}, DefaultValue:"0", Comment:"任务类型", GoType:"int", GoName:"Type"}, "uid":{Name:"uid", DataType:"int", Unsigned:true, PrimaryKey:false, AutoIncrement:false, Min:0, Max:9.9999999999e+10, Precision:0, MaxSize:11, Options:[]string{}, DefaultValue:"0", Comment:"用户ID", GoType:"uint", GoName:"Uid"}, "updated":{Name:"updated", DataType:"int", Unsigned:true, PrimaryKey:false, AutoIncrement:false, Min:0, Max:9.9999999999e+10, Precision:0, MaxSize:11, Options:[]string{}, DefaultValue:"0", Comment:"修改时间", GoType:"uint", GoName:"Updated"}, "work_directory":{Name:"work_directory", DataType:"varchar", Unsigned:false, PrimaryKey:false, AutoIncrement:false, Min:0, Max:0, Precision:0, MaxSize:255, Options:[]string{}, DefaultValue:"", Comment:"工作目录", GoType:"string", GoName:"WorkDirectory"}}, "task_group":{"cmd_prefix":{Name:"cmd_prefix", DataType:"varchar", Unsigned:false, PrimaryKey:false, AutoIncrement:false, Min:0, Max:0, Precision:0, MaxSize:255, Options:[]string{}, DefaultValue:"", Comment:"命令前缀", GoType:"string", GoName:"CmdPrefix"}, "cmd_suffix":{Name:"cmd_suffix", DataType:"varchar", Unsigned:false, PrimaryKey:false, AutoIncrement:false, Min:0, Max:0, Precision:0, MaxSize:255, Options:[]string{}, DefaultValue:"", Comment:"命令后缀", GoType:"string", GoName:"CmdSuffix"}, "created":{Name:"created", DataType:"int", Unsigned:true, PrimaryKey:false, AutoIncrement:false, Min:0, Max:9.9999999999e+10, Precision:0, MaxSize:11, Options:[]string{}, DefaultValue:"0", Comment:"创建时间", GoType:"uint", GoName:"Created"}, "description":{Name:"description", DataType:"varchar", Unsigned:false, PrimaryKey:false, AutoIncrement:false, Min:0, Max:0, Precision:0, MaxSize:255, Options:[]string{}, DefaultValue:"", Comment:"说明", GoType:"string", GoName:"Description"}, "id":{Name:"id", DataType:"int", Unsigned:true, PrimaryKey:true, AutoIncrement:true, Min:0, Max:9.9999999999e+10, Precision:0, MaxSize:11, Options:[]string{}, DefaultValue:"", Comment:"", GoType:"uint", GoName:"Id"}, "name":{Name:"name", DataType:"varchar", Unsigned:false, PrimaryKey:false, AutoIncrement:false, Min:0, Max:0, Precision:0, MaxSize:60, Options:[]string{}, DefaultValue:"", Comment:"组名", GoType:"string", GoName:"Name"}, "uid":{Name:"uid", DataType:"int", Unsigned:true, PrimaryKey:false, AutoIncrement:false, Min:0, Max:9.9999999999e+10, Precision:0, MaxSize:11, Options:[]string{}, DefaultValue:"0", Comment:"用户ID", GoType:"uint", GoName:"Uid"}, "updated":{Name:"updated", DataType:"int", Unsigned:true, PrimaryKey:false, AutoIncrement:false, Min:0, Max:9.9999999999e+10, Precision:0, MaxSize:11, Options:[]string{}, DefaultValue:"0", Comment:"修改时间", GoType:"uint", GoName:"Updated"}}, "task_log":{"created":{Name:"created", DataType:"int", Unsigned:true, PrimaryKey:false, AutoIncrement:false, Min:0, Max:9.9999999999e+10, Precision:0, MaxSize:11, Options:[]string{}, DefaultValue:"0", Comment:"创建时间", GoType:"uint", GoName:"Created"}, "elapsed":{Name:"elapsed", DataType:"int", Unsigned:true, PrimaryKey:false, AutoIncrement:false, Min:0, Max:9.9999999999e+10, Precision:0, MaxSize:11, Options:[]string{}, DefaultValue:"0", Comment:"消耗时间(毫秒)", GoType:"uint", GoName:"Elapsed"}, "error":{Name:"error", DataType:"", Unsigned:false, PrimaryKey:false, AutoIncrement:false, Min:0, Max:0, Precision:0, MaxSize:0, Options:[]string{}, DefaultValue:"", Comment:"错误信息", GoType:"string", GoName:"Error"}, "id":{Name:"id", DataType:"bigint", Unsigned:true, PrimaryKey:true, AutoIncrement:true, Min:0, Max:1e+20, Precision:0, MaxSize:20, Options:[]string{}, DefaultValue:"", Comment:"", GoType:"uint64", GoName:"Id"}, "output":{Name:"output", DataType:"", Unsigned:false, PrimaryKey:false, AutoIncrement:false, Min:0, Max:0, Precision:0, MaxSize:0, Options:[]string{}, DefaultValue:"", Comment:"任务输出", GoType:"string", GoName:"Output"}, "status":{Name:"status", DataType:"enum", Unsigned:false, PrimaryKey:false, AutoIncrement:false, Min:0, Max:0, Precision:0, MaxSize:0, Options:[]string{"success", "timeout", "failure", "stop", "restart"}, DefaultValue:"success", Comment:"状态", GoType:"string", GoName:"Status"}, "task_id":{Name:"task_id", DataType:"int", Unsigned:true, PrimaryKey:false, AutoIncrement:false, Min:0, Max:9.9999999999e+10, Precision:0, MaxSize:11, Options:[]string{}, DefaultValue:"0", Comment:"任务ID", GoType:"uint", GoName:"TaskId"}}, "user":{"avatar":{Name:"avatar", DataType:"varchar", Unsigned:false, PrimaryKey:false, AutoIncrement:false, Min:0, Max:0, Precision:0, MaxSize:200, Options:[]string{}, DefaultValue:"", Comment:"头像", GoType:"string", GoName:"Avatar"}, "created":{Name:"created", DataType:"int", Unsigned:true, PrimaryKey:false, AutoIncrement:false, Min:0, Max:9.9999999999e+10, Precision:0, MaxSize:11, Options:[]string{}, DefaultValue:"0", Comment:"创建时间", GoType:"uint", GoName:"Created"}, "disabled":{Name:"disabled", DataType:"enum", Unsigned:false, PrimaryKey:false, AutoIncrement:false, Min:0, Max:0, Precision:0, MaxSize:0, Options:[]string{"Y", "N"}, DefaultValue:"N", Comment:"状态", GoType:"string", GoName:"Disabled"}, "email":{Name:"email", DataType:"varchar", Unsigned:false, PrimaryKey:false, AutoIncrement:false, Min:0, Max:0, Precision:0, MaxSize:50, Options:[]string{}, DefaultValue:"", Comment:"邮箱", GoType:"string", GoName:"Email"}, "gender":{Name:"gender", DataType:"enum", Unsigned:false, PrimaryKey:false, AutoIncrement:false, Min:0, Max:0, Precision:0, MaxSize:0, Options:[]string{"male", "female", "secret"}, DefaultValue:"secret", Comment:"性别(male-男;female-女;secret-保密)", GoType:"string", GoName:"Gender"}, "id":{Name:"id", DataType:"int", Unsigned:true, PrimaryKey:true, AutoIncrement:true, Min:0, Max:9.9999999999e+10, Precision:0, MaxSize:11, Options:[]string{}, DefaultValue:"", Comment:"", GoType:"uint", GoName:"Id"}, "last_ip":{Name:"last_ip", DataType:"varchar", Unsigned:false, PrimaryKey:false, AutoIncrement:false, Min:0, Max:0, Precision:0, MaxSize:150, Options:[]string{}, DefaultValue:"", Comment:"最后登录IP", GoType:"string", GoName:"LastIp"}, "last_login":{Name:"last_login", DataType:"int", Unsigned:true, PrimaryKey:false, AutoIncrement:false, Min:0, Max:9.9999999999e+10, Precision:0, MaxSize:11, Options:[]string{}, DefaultValue:"0", Comment:"最后登录时间", GoType:"uint", GoName:"LastLogin"}, "mobile":{Name:"mobile", DataType:"varchar", Unsigned:false, PrimaryKey:false, AutoIncrement:false, Min:0, Max:0, Precision:0, MaxSize:15, Options:[]string{}, DefaultValue:"", Comment:"手机号", GoType:"string", GoName:"Mobile"}, "online":{Name:"online", DataType:"enum", Unsigned:false, PrimaryKey:false, AutoIncrement:false, Min:0, Max:0, Precision:0, MaxSize:0, Options:[]string{"Y", "N"}, DefaultValue:"N", Comment:"是否在线", GoType:"string", GoName:"Online"}, "password":{Name:"password", DataType:"char", Unsigned:false, PrimaryKey:false, AutoIncrement:false, Min:0, Max:0, Precision:0, MaxSize:64, Options:[]string{}, DefaultValue:"", Comment:"密码", GoType:"string", GoName:"Password"}, "role_ids":{Name:"role_ids", DataType:"", Unsigned:false, PrimaryKey:false, AutoIncrement:false, Min:0, Max:0, Precision:0, MaxSize:0, Options:[]string{}, DefaultValue:"", Comment:"角色ID(多个用“,”分隔开)", GoType:"string", GoName:"RoleIds"}, "safe_pwd":{Name:"safe_pwd", DataType:"char", Unsigned:false, PrimaryKey:false, AutoIncrement:false, Min:0, Max:0, Precision:0, MaxSize:64, Options:[]string{}, DefaultValue:"", Comment:"安全密码", GoType:"string", GoName:"SafePwd"}, "salt":{Name:"salt", DataType:"char", Unsigned:false, PrimaryKey:false, AutoIncrement:false, Min:0, Max:0, Precision:0, MaxSize:64, Options:[]string{}, DefaultValue:"", Comment:"盐值", GoType:"string", GoName:"Salt"}, "updated":{Name:"updated", DataType:"int", Unsigned:true, PrimaryKey:false, AutoIncrement:false, Min:0, Max:9.9999999999e+10, Precision:0, MaxSize:11, Options:[]string{}, DefaultValue:"0", Comment:"更新时间", GoType:"uint", GoName:"Updated"}, "username":{Name:"username", DataType:"varchar", Unsigned:false, PrimaryKey:false, AutoIncrement:false, Min:0, Max:0, Precision:0, MaxSize:30, Options:[]string{}, DefaultValue:"", Comment:"用户名", GoType:"string", GoName:"Username"}}, "user_role":{"created":{Name:"created", DataType:"int", Unsigned:true, PrimaryKey:false, AutoIncrement:false, Min:0, Max:9.999999999e+09, Precision:0, MaxSize:10, Options:[]string{}, DefaultValue:"", Comment:"添加时间", GoType:"uint", GoName:"Created"}, "description":{Name:"description", DataType:"", Unsigned:false, PrimaryKey:false, AutoIncrement:false, Min:0, Max:0, Precision:0, MaxSize:0, Options:[]string{}, DefaultValue:"", Comment:"说明", GoType:"string", GoName:"Description"}, "disabled":{Name:"disabled", DataType:"enum", Unsigned:false, PrimaryKey:false, AutoIncrement:false, Min:0, Max:0, Precision:0, MaxSize:0, Options:[]string{"Y", "N"}, DefaultValue:"N", Comment:"是否禁用", GoType:"string", GoName:"Disabled"}, "id":{Name:"id", DataType:"int", Unsigned:true, PrimaryKey:true, AutoIncrement:true, Min:0, Max:9.999999999e+09, Precision:0, MaxSize:10, Options:[]string{}, DefaultValue:"", Comment:"ID", GoType:"uint", GoName:"Id"}, "name":{Name:"name", DataType:"varchar", Unsigned:false, PrimaryKey:false, AutoIncrement:false, Min:0, Max:0, Precision:0, MaxSize:60, Options:[]string{}, DefaultValue:"", Comment:"名称", GoType:"string", GoName:"Name"}, "parent_id":{Name:"parent_id", DataType:"int", Unsigned:true, PrimaryKey:false, AutoIncrement:false, Min:0, Max:9.999999999e+09, Precision:0, MaxSize:10, Options:[]string{}, DefaultValue:"0", Comment:"父级ID", GoType:"uint", GoName:"ParentId"}, "perm_action":{Name:"perm_action", DataType:"", Unsigned:false, PrimaryKey:false, AutoIncrement:false, Min:0, Max:0, Precision:0, MaxSize:0, Options:[]string{}, DefaultValue:"", Comment:"行为权限(多个用“,”分隔开)", GoType:"string", GoName:"PermAction"}, "perm_cmd":{Name:"perm_cmd", DataType:"", Unsigned:false, PrimaryKey:false, AutoIncrement:false, Min:0, Max:0, Precision:0, MaxSize:0, Options:[]string{}, DefaultValue:"", Comment:"指令集权限(多个用“,”分隔开)", GoType:"string", GoName:"PermCmd"}, "updated":{Name:"updated", DataType:"int", Unsigned:true, PrimaryKey:false, AutoIncrement:false, Min:0, Max:9.999999999e+09, Precision:0, MaxSize:10, Options:[]string{}, DefaultValue:"0", Comment:"修改时间", GoType:"uint", GoName:"Updated"}}, "user_u2f":{"created":{Name:"created", DataType:"int", Unsigned:true, PrimaryKey:false, AutoIncrement:false, Min:0, Max:9.9999999999e+10, Precision:0, MaxSize:11, Options:[]string{}, DefaultValue:"", Comment:"绑定时间", GoType:"uint", GoName:"Created"}, "extra":{Name:"extra", DataType:"", Unsigned:false, PrimaryKey:false, AutoIncrement:false, Min:0, Max:0, Precision:0, MaxSize:0, Options:[]string{}, DefaultValue:"", Comment:"扩展设置", GoType:"string", GoName:"Extra"}, "id":{Name:"id", DataType:"bigint", Unsigned:true, PrimaryKey:true, AutoIncrement:true, Min:0, Max:1e+20, Precision:0, MaxSize:20, Options:[]string{}, DefaultValue:"", Comment:"", GoType:"uint64", GoName:"Id"}, "token":{Name:"token", DataType:"varchar", Unsigned:false, PrimaryKey:false, AutoIncrement:false, Min:0, Max:0, Precision:0, MaxSize:255, Options:[]string{}, DefaultValue:"", Comment:"签名", GoType:"string", GoName:"Token"}, "type":{Name:"type", DataType:"varchar", Unsigned:false, PrimaryKey:false, AutoIncrement:false, Min:0, Max:0, Precision:0, MaxSize:30, Options:[]string{}, DefaultValue:"", Comment:"类型", GoType:"string", GoName:"Type"}, "uid":{Name:"uid", DataType:"int", Unsigned:true, PrimaryKey:false, AutoIncrement:false, Min:0, Max:9.9999999999e+10, Precision:0, MaxSize:11, Options:[]string{}, DefaultValue:"", Comment:"用户ID", GoType:"uint", GoName:"Uid"}}, "vhost":{"created":{Name:"created", DataType:"int", Unsigned:true, PrimaryKey:false, AutoIncrement:false, Min:0, Max:9.999999999e+09, Precision:0, MaxSize:10, Options:[]string{}, DefaultValue:"0", Comment:"创建时间", GoType:"uint", GoName:"Created"}, "disabled":{Name:"disabled", DataType:"enum", Unsigned:false, PrimaryKey:false, AutoIncrement:false, Min:0, Max:0, Precision:0, MaxSize:0, Options:[]string{"Y", "N"}, DefaultValue:"N", Comment:"是否停用", GoType:"string", GoName:"Disabled"}, "domain":{Name:"domain", DataType:"", Unsigned:false, PrimaryKey:false, AutoIncrement:false, Min:0, Max:0, Precision:0, MaxSize:0, Options:[]string{}, DefaultValue:"", Comment:"域名", GoType:"string", GoName:"Domain"}, "group_id":{Name:"group_id", DataType:"int", Unsigned:true, PrimaryKey:false, AutoIncrement:false, Min:0, Max:9.9999999999e+10, Precision:0, MaxSize:11, Options:[]string{}, DefaultValue:"0", Comment:"组", GoType:"uint", GoName:"GroupId"}, "id":{Name:"id", DataType:"int", Unsigned:true, PrimaryKey:true, AutoIncrement:true, Min:0, Max:9.999999999e+09, Precision:0, MaxSize:10, Options:[]string{}, DefaultValue:"", Comment:"ID", GoType:"uint", GoName:"Id"}, "name":{Name:"name", DataType:"varchar", Unsigned:false, PrimaryKey:false, AutoIncrement:false, Min:0, Max:0, Precision:0, MaxSize:200, Options:[]string{}, DefaultValue:"", Comment:"网站名称", GoType:"string", GoName:"Name"}, "root":{Name:"root", DataType:"varchar", Unsigned:false, PrimaryKey:false, AutoIncrement:false, Min:0, Max:0, Precision:0, MaxSize:500, Options:[]string{}, DefaultValue:"", Comment:"网站物理路径", GoType:"string", GoName:"Root"}, "setting":{Name:"setting", DataType:"", Unsigned:false, PrimaryKey:false, AutoIncrement:false, Min:0, Max:0, Precision:0, MaxSize:0, Options:[]string{}, DefaultValue:"", Comment:"设置", GoType:"string", GoName:"Setting"}, "updated":{Name:"updated", DataType:"int", Unsigned:true, PrimaryKey:false, AutoIncrement:false, Min:0, Max:9.999999999e+09, Precision:0, MaxSize:10, Options:[]string{}, DefaultValue:"0", Comment:"更新时间", GoType:"uint", GoName:"Updated"}}, "vhost_group":{"created":{Name:"created", DataType:"int", Unsigned:true, PrimaryKey:false, AutoIncrement:false, Min:0, Max:9.9999999999e+10, Precision:0, MaxSize:11, Options:[]string{}, DefaultValue:"0", Comment:"创建时间", GoType:"uint", GoName:"Created"}, "description":{Name:"description", DataType:"varchar", Unsigned:false, PrimaryKey:false, AutoIncrement:false, Min:0, Max:0, Precision:0, MaxSize:255, Options:[]string{}, DefaultValue:"", Comment:"说明", GoType:"string", GoName:"Description"}, "id":{Name:"id", DataType:"int", Unsigned:true, PrimaryKey:true, AutoIncrement:true, Min:0, Max:9.9999999999e+10, Precision:0, MaxSize:11, Options:[]string{}, DefaultValue:"", Comment:"", GoType:"uint", GoName:"Id"}, "name":{Name:"name", DataType:"varchar", Unsigned:false, PrimaryKey:false, AutoIncrement:false, Min:0, Max:0, Precision:0, MaxSize:120, Options:[]string{}, DefaultValue:"", Comment:"组名", GoType:"string", GoName:"Name"}, "uid":{Name:"uid", DataType:"int", Unsigned:true, PrimaryKey:false, AutoIncrement:false, Min:0, Max:9.9999999999e+10, Precision:0, MaxSize:11, Options:[]string{}, DefaultValue:"0", Comment:"用户ID", GoType:"uint", GoName:"Uid"}}})
factory.ModelRegister(factory.ModelInstancers{`TaskLog`:factory.NewMI("task_log",func(connID int) factory.Model { return &TaskLog{connID: connID} }),`UserRole`:factory.NewMI("user_role",func(connID int) factory.Model { return &UserRole{connID: connID} }),`DbSyncLog`:factory.NewMI("db_sync_log",func(connID int) factory.Model { return &DbSyncLog{connID: connID} }),`FrpServer`:factory.NewMI("frp_server",func(connID int) factory.Model { return &FrpServer{connID: connID} }),`FtpUserGroup`:factory.NewMI("ftp_user_group",func(connID int) factory.Model { return &FtpUserGroup{connID: connID} }),`SendingLog`:factory.NewMI("sending_log",func(connID int) factory.Model { return &SendingLog{connID: connID} }),`Task`:factory.NewMI("task",func(connID int) factory.Model { return &Task{connID: connID} }),`User`:factory.NewMI("user",func(connID int) factory.Model { return &User{connID: connID} }),`CollectorGroup`:factory.NewMI("collector_group",func(connID int) factory.Model { return &CollectorGroup{connID: connID} }),`CollectorRule`:factory.NewMI("collector_rule",func(connID int) factory.Model { return &CollectorRule{connID: connID} }),`ForeverProcess`:factory.NewMI("forever_process",func(connID int) factory.Model { return &ForeverProcess{connID: connID} }),`SshUserGroup`:factory.NewMI("ssh_user_group",func(connID int) factory.Model { return &SshUserGroup{connID: connID} }),`FrpGroup`:factory.NewMI("frp_group",func(connID int) factory.Model { return &FrpGroup{connID: connID} }),`SshUser`:factory.NewMI("ssh_user",func(connID int) factory.Model { return &SshUser{connID: connID} }),`CollectorExportLog`:factory.NewMI("collector_export_log",func(connID int) factory.Model { return &CollectorExportLog{connID: connID} }),`UserU2f`:factory.NewMI("user_u2f",func(connID int) factory.Model { return &UserU2f{connID: connID} }),`Vhost`:factory.NewMI("vhost",func(connID int) factory.Model { return &Vhost{connID: connID} }),`DbSync`:factory.NewMI("db_sync",func(connID int) factory.Model { return &DbSync{connID: connID} }),`AccessLog`:factory.NewMI("access_log",func(connID int) factory.Model { return &AccessLog{connID: connID} }),`CodeVerification`:factory.NewMI("code_verification",func(connID int) factory.Model { return &CodeVerification{connID: connID} }),`CollectorHistory`:factory.NewMI("collector_history",func(connID int) factory.Model { return &CollectorHistory{connID: connID} }),`DbAccount`:factory.NewMI("db_account",func(connID int) factory.Model { return &DbAccount{connID: connID} }),`CollectorExport`:factory.NewMI("collector_export",func(connID int) factory.Model { return &CollectorExport{connID: connID} }),`FtpUser`:factory.NewMI("ftp_user",func(connID int) factory.Model { return &FtpUser{connID: connID} }),`CodeInvitation`:factory.NewMI("code_invitation",func(connID int) factory.Model { return &CodeInvitation{connID: connID} }),`CollectorPage`:factory.NewMI("collector_page",func(connID int) factory.Model { return &CollectorPage{connID: connID} }),`Command`:factory.NewMI("command",func(connID int) factory.Model { return &Command{connID: connID} }),`VhostGroup`:factory.NewMI("vhost_group",func(connID int) factory.Model { return &VhostGroup{connID: connID} }),`Config`:factory.NewMI("config",func(connID int) factory.Model { return &Config{connID: connID} }),`FrpClient`:factory.NewMI("frp_client",func(connID int) factory.Model { return &FrpClient{connID: connID} }),`TaskGroup`:factory.NewMI("task_group",func(connID int) factory.Model { return &TaskGroup{connID: connID} }),})
}
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。