From efa9abb289577efc3c0ddb9643d5af9ccd98c828 Mon Sep 17 00:00:00 2001 From: d3m0k1d Date: Mon, 23 Feb 2026 23:18:43 +0300 Subject: [PATCH] feat: add actions to rule struct --- internal/config/types.go | 1 + 1 file changed, 1 insertion(+) 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 {