mirror of
https://github.com/ScuroNeko/mtg.git
synced 2026-09-01 16:01:55 +03:00
Implement caching dns resolver
This commit is contained in:
@@ -5,7 +5,6 @@ import "github.com/9seconds/mtg/v2/mtglib"
|
||||
type noop struct{}
|
||||
|
||||
func (n noop) SeenBefore(_ []byte) bool { return false }
|
||||
func (n noop) Shutdown() {}
|
||||
|
||||
func NewNoop() mtglib.AntiReplayCache {
|
||||
return noop{}
|
||||
|
||||
Reference in New Issue
Block a user