diff --git a/internal/config/types.go b/internal/config/types.go index f5031cd..828fb3c 100644 --- a/internal/config/types.go +++ b/internal/config/types.go @@ -31,6 +31,7 @@ type Rule struct { Method string `toml:"method"` MaxRetry int `toml:"max_retry"` BanTime string `toml:"ban_time"` + Action []Action } type Metrics struct {