mirror of
https://github.com/TeaOSLab/EdgeNode.git
synced 2025-11-25 16:30:25 +08:00
实现WAF
This commit is contained in:
28
internal/waf/checkpoints/checkpoint.go
Normal file
28
internal/waf/checkpoints/checkpoint.go
Normal file
@@ -0,0 +1,28 @@
|
||||
package checkpoints
|
||||
|
||||
type Checkpoint struct {
|
||||
}
|
||||
|
||||
func (this *Checkpoint) Init() {
|
||||
|
||||
}
|
||||
|
||||
func (this *Checkpoint) IsRequest() bool {
|
||||
return true
|
||||
}
|
||||
|
||||
func (this *Checkpoint) ParamOptions() *ParamOptions {
|
||||
return nil
|
||||
}
|
||||
|
||||
func (this *Checkpoint) Options() []OptionInterface {
|
||||
return nil
|
||||
}
|
||||
|
||||
func (this *Checkpoint) Start() {
|
||||
|
||||
}
|
||||
|
||||
func (this *Checkpoint) Stop() {
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user