增加IP动作

This commit is contained in:
GoEdgeLab
2021-02-06 17:34:33 +08:00
parent b457277b6e
commit 644aa401a2
22 changed files with 1406 additions and 11 deletions

View File

@@ -12,11 +12,12 @@ const (
// IP条目
type IPItem struct {
Type string
Id int64
IPFrom uint64
IPTo uint64
ExpiredAt int64
Type string `json:"type"`
Id int64 `json:"id"`
IPFrom uint64 `json:"ipFrom"`
IPTo uint64 `json:"ipTo"`
ExpiredAt int64 `json:"expiredAt"`
EventLevel string `json:"eventLevel"`
}
// 检查是否包含某个IP