mirror of
https://github.com/nbd-wtf/go-nostr.git
synced 2025-06-26 00:31:14 +02:00
expose max limits allowed for binary format event fields.
This commit is contained in:
parent
2f514d5026
commit
f1980e8b7a
10
binary/limits.go
Normal file
10
binary/limits.go
Normal file
@ -0,0 +1,10 @@
|
||||
package binary
|
||||
|
||||
import "math"
|
||||
|
||||
const (
|
||||
MaxContentSize = math.MaxUint16
|
||||
MaxKind = math.MaxUint16
|
||||
MaxTagCount = math.MaxUint16
|
||||
MaxTagSize = math.MaxUint16
|
||||
)
|
Loading…
x
Reference in New Issue
Block a user