mirror of
https://github.com/ScuroNeko/mtg.git
synced 2026-08-31 14:14:02 +03:00
Add antireplay cache
This commit is contained in:
@@ -17,6 +17,10 @@ type Network interface {
|
||||
IdleTimeout() time.Duration
|
||||
}
|
||||
|
||||
type AntiReplayCache interface {
|
||||
SeenBefore(data []byte) bool
|
||||
}
|
||||
|
||||
type Logger interface {
|
||||
Named(name string) Logger
|
||||
|
||||
|
||||
Reference in New Issue
Block a user