feat: add new interface method to firewals
All checks were successful
build / build (push) Successful in 3m9s

This commit is contained in:
d3m0k1d
2026-02-09 19:50:06 +03:00
parent b8b9b227a9
commit 9519eedf4f
7 changed files with 70 additions and 1 deletions

View File

@@ -10,6 +10,8 @@ type BlockerEngine interface {
Ban(ip string) error
Unban(ip string) error
Setup(config string) error
PortOpen(port int) error
PortClose(port int) error
}
func GetBlocker(fw string, config string) BlockerEngine {