mirror of
https://github.com/ScuroNeko/mtg.git
synced 2026-08-31 21:14:01 +03:00
Implement caching dns resolver
This commit is contained in:
@@ -9,7 +9,6 @@ import (
|
||||
type noop struct{}
|
||||
|
||||
func (n noop) Contains(ip net.IP) bool { return false }
|
||||
func (n noop) Shutdown() {}
|
||||
|
||||
func NewNoop() mtglib.IPBlocklist {
|
||||
return noop{}
|
||||
|
||||
Reference in New Issue
Block a user