feat: add simple setup func to blockerengine, fix init and db, version for realease v0.2.0
This commit is contained in:
@@ -9,6 +9,7 @@ import (
|
||||
type BlockerEngine interface {
|
||||
Ban(ip string) error
|
||||
Unban(ip string) error
|
||||
Setup(config string) error
|
||||
}
|
||||
|
||||
func GetBlocker(fw string, config string) BlockerEngine {
|
||||
|
||||
Reference in New Issue
Block a user