feat: add actions to rule struct
All checks were successful
build / build (push) Successful in 2m18s
All checks were successful
build / build (push) Successful in 2m18s
This commit is contained in:
@@ -31,6 +31,7 @@ type Rule struct {
|
|||||||
Method string `toml:"method"`
|
Method string `toml:"method"`
|
||||||
MaxRetry int `toml:"max_retry"`
|
MaxRetry int `toml:"max_retry"`
|
||||||
BanTime string `toml:"ban_time"`
|
BanTime string `toml:"ban_time"`
|
||||||
|
Action []Action
|
||||||
}
|
}
|
||||||
|
|
||||||
type Metrics struct {
|
type Metrics struct {
|
||||||
|
|||||||
Reference in New Issue
Block a user