添加 waf

添加 访问频率限制测试
This commit is contained in:
Shikong 2022-10-25 15:02:17 +08:00
parent d152df3a1d
commit f98e4af0a7

View File

@ -0,0 +1,14 @@
package models
import (
"gofiber.study.skcks.cn/common/time"
)
type Waf struct {
Ip string `xorm:"not null pk VARCHAR(255)" json:"ip"`
CreateTime time.Time `xorm:"not null DATETIME(6) created" json:"createTime"`
}
func (m *Waf) TableName() string {
return "waf"
}