mirror of
https://github.com/ScuroNeko/mtg.git
synced 2026-09-01 16:01:55 +03:00
Update docs
This commit is contained in:
+2
-3
@@ -6,9 +6,8 @@ type noop struct{}
|
||||
|
||||
func (n noop) SeenBefore(_ []byte) bool { return false }
|
||||
|
||||
// NewNoop returns an implementation that does nothing. A corresponding
|
||||
// method always returns false, so this cache accepts everything you
|
||||
// pass to it.
|
||||
// NewNoop returns an implementation that does nothing. A corresponding method
|
||||
// always returns false, so this cache accepts everything you pass to it.
|
||||
func NewNoop() mtglib.AntiReplayCache {
|
||||
return noop{}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user