revert: restore original interface.go

This commit is contained in:
Ilya Chernishev
2026-01-12 17:53:17 +03:00
parent c1a3110b79
commit d437512d24

View File

@@ -1,19 +1,6 @@
package blocker
// BlockerEngine defines the interface for all firewall implementations
type BlockerEngine interface {
// Core operations
Ban(ip string) error
Unban(ip string) error
// Lifecycle management
Setup() error
Close() error
// Query operations
List() ([]string, error)
// Metadata
Name() string
IsAvailable() bool
}