实现访问日志配置

This commit is contained in:
GoEdgeLab
2020-09-20 11:56:22 +08:00
parent bdaa090b5d
commit e7d37ea6dc
15 changed files with 1203 additions and 144 deletions

View File

@@ -49,7 +49,7 @@ func NewRequestCond() *RequestCond {
}
// 校验配置
func (this *RequestCond) Validate() error {
func (this *RequestCond) Init() error {
this.isInt = RegexpDigitNumber.MatchString(this.Value)
this.isFloat = RegexpFloatNumber.MatchString(this.Value)