Skip to content

Commit e917cab

Browse files
authored
doc:improve header.Verify godoc (#208)
1 parent 0a52c6e commit e917cab

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

header.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ type Header[H any] interface {
2727
// Time returns time when header was created.
2828
Time() time.Time
2929
// Verify validates given untrusted Header against trusted Header.
30+
// Verify should be able to validate both adjacent and non-adjacent headers.
3031
Verify(H) error
3132
// Validate performs stateless validation to check for missed/incorrect fields.
3233
Validate() error

0 commit comments

Comments
 (0)