revert: restore original interface.go
This commit is contained in:
@@ -1,19 +1,6 @@
|
|||||||
package blocker
|
package blocker
|
||||||
|
|
||||||
// BlockerEngine defines the interface for all firewall implementations
|
|
||||||
type BlockerEngine interface {
|
type BlockerEngine interface {
|
||||||
// Core operations
|
|
||||||
Ban(ip string) error
|
Ban(ip string) error
|
||||||
Unban(ip string) error
|
Unban(ip string) error
|
||||||
|
|
||||||
// Lifecycle management
|
|
||||||
Setup() error
|
|
||||||
Close() error
|
|
||||||
|
|
||||||
// Query operations
|
|
||||||
List() ([]string, error)
|
|
||||||
|
|
||||||
// Metadata
|
|
||||||
Name() string
|
|
||||||
IsAvailable() bool
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user