From b3112c5c6714dd04a4b7f1bd6939bebebd4284bc Mon Sep 17 00:00:00 2001 From: 9seconds Date: Mon, 5 Apr 2021 11:39:09 +0300 Subject: [PATCH] Move documentation to init.go --- antireplay/doc.go | 7 ------- antireplay/init.go | 6 ++++++ 2 files changed, 6 insertions(+), 7 deletions(-) delete mode 100644 antireplay/doc.go diff --git a/antireplay/doc.go b/antireplay/doc.go deleted file mode 100644 index 7e86edb..0000000 --- a/antireplay/doc.go +++ /dev/null @@ -1,7 +0,0 @@ -// Antireplay package has cache implementations that are effective -// against replay attacks. -// -// To understand more about replay attacks, please read documentation -// for mtglib.AntiReplayCache interface. This package has a list of some -// implementations of this interface. -package antireplay diff --git a/antireplay/init.go b/antireplay/init.go index 1f17681..eb4eeb1 100644 --- a/antireplay/init.go +++ b/antireplay/init.go @@ -1,3 +1,9 @@ +// Antireplay package has cache implementations that are effective +// against replay attacks. +// +// To understand more about replay attacks, please read documentation +// for mtglib.AntiReplayCache interface. This package has a list of some +// implementations of this interface. package antireplay const (