From e917cab4f23da3f10213e42c222276eb4cedf299 Mon Sep 17 00:00:00 2001 From: Viacheslav Date: Fri, 28 Jun 2024 15:45:26 +0300 Subject: [PATCH] doc:improve header.Verify godoc (#208) --- header.go | 1 + 1 file changed, 1 insertion(+) diff --git a/header.go b/header.go index 02e391e4..010ab2ca 100644 --- a/header.go +++ b/header.go @@ -27,6 +27,7 @@ type Header[H any] interface { // Time returns time when header was created. Time() time.Time // Verify validates given untrusted Header against trusted Header. + // Verify should be able to validate both adjacent and non-adjacent headers. Verify(H) error // Validate performs stateless validation to check for missed/incorrect fields. Validate() error