Documentation ¶
Index ¶
Constants ¶
View Source
const ( BeanNameGormPre = "redis_" BeanNameXormPre = "xorm_" BeanNameRedisPre = "redis_" BeanNameEtcdPre = "etcd_" )
View Source
const ( TRACE_HEAD_ID = "t-head-traceId" TRACE_HEAD_RPC_ID = "t-head-rpcId" TRACE_HEAD_SAMPLED = "t-head-sampled" TRACE_HEAD_USER_ID = "t-head-userId" TRACE_HEAD_USER_NAME = "t-head-userName" TRACE_HEAD_REMOTE_IP = "t-head-remoteIp" TRACE_HEAD_REMOTE_APPNAME = "t-head-remoteAppName" TRACE_HEAD_ORIGNAL_URL = "t-head-orignal-url" )
View Source
const ( SAVE_HEAD = "head" SAVE_REMOTE_ADDR = "remote_addr" )
View Source
const ( // Value 值列表 Value = "value" // IsBlank 字符为空匹配 IsBlank = "isBlank" // IsUnBlank 字符为非空匹配 IsUnBlank = "isUnBlank" // Range 范围匹配 Range = "range" // Model 固定的几个模式匹配 Model = "model" // Condition 条件表达式 Condition = "condition" // Regex 正则表达式 Regex = "regex" // Customize 自定义函数回调 Customize = "customize" )
匹配
View Source
const ( // ErrMsg 自定义错误异常 ErrMsg = "errMsg" // Accept 匹配后是否接受 Accept = "accept" // Disable 是否启用属性的核查功能 Disable = "disable" )
匹配后处理
View Source
const ( EQUAL = "=" MATCH = "match" CHECK = "check" )
tag关键字
View Source
const ( LeftEqual = "[" LeftUnEqual = "(" RightUnEqual = ")" RightEqual = "]" Now = "now" Past = "past" Future = "future" )
range匹配关键字
View Source
const ( IdCard = "id_card" Phone = "phone" FixedPhone = "fixed_phone" MAIL = "mail" IpAddress = "ip" )
model类别
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.