mirror of
https://github.com/TeaOSLab/EdgeCommon.git
synced 2026-04-26 16:35:20 +08:00
实现访问日志配置
This commit is contained in:
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user