Initial commit (code only without large binaries)
This commit is contained in:
17
EdgeNode/internal/waf/action_base.go
Normal file
17
EdgeNode/internal/waf/action_base.go
Normal file
@@ -0,0 +1,17 @@
|
||||
// Copyright 2021 Liuxiangchao iwind.liu@gmail.com. All rights reserved.
|
||||
|
||||
package waf
|
||||
|
||||
type BaseAction struct {
|
||||
currentActionId int64
|
||||
}
|
||||
|
||||
// ActionId 读取ActionId
|
||||
func (this *BaseAction) ActionId() int64 {
|
||||
return this.currentActionId
|
||||
}
|
||||
|
||||
// SetActionId 设置Id
|
||||
func (this *BaseAction) SetActionId(actionId int64) {
|
||||
this.currentActionId = actionId
|
||||
}
|
||||
Reference in New Issue
Block a user