mirror of
https://github.com/sot-tech/mochi.git
synced 2026-05-12 20:38:36 -07:00
store: normalized config
This commit is contained in:
@@ -19,7 +19,7 @@ func init() {
|
||||
|
||||
type ipStoreDriver struct{}
|
||||
|
||||
func (d *ipStoreDriver) New(cfg *store.Config) (store.IPStore, error) {
|
||||
func (d *ipStoreDriver) New(_ *store.DriverConfig) (store.IPStore, error) {
|
||||
return &ipStore{
|
||||
ips: make(map[[16]byte]struct{}),
|
||||
networks: netmatch.New(),
|
||||
|
||||
Reference in New Issue
Block a user