diff options
author | Rasmus Dahlberg <rasmus.dahlberg@kau.se> | 2021-02-23 11:29:29 +0100 |
---|---|---|
committer | Rasmus Dahlberg <rasmus.dahlberg@kau.se> | 2021-02-23 11:29:29 +0100 |
commit | 7d548d838fa9023e8be902dc3db47a3e78e592ea (patch) | |
tree | e6f7f8da44a29d848474d244f5dfd3c444aa593a /types/item.go | |
parent | 666e41811bdd46e24ced8ddd3448243ecb2f45c3 (diff) |
added StItemList
Diffstat (limited to 'types/item.go')
-rw-r--r-- | types/item.go | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/types/item.go b/types/item.go index 5e8836e..8596ce4 100644 --- a/types/item.go +++ b/types/item.go @@ -28,7 +28,10 @@ type StItem struct { SignedChecksumV1 *SignedChecksumV1 `tls:"selector:Format,val:5"` } -// TODO: StItemList +// StItemList is an StItem List that is at most 2^32-1 bytes when serialized. +type StItemList struct { + Items []StItem `tls:"minlen:0,maxlen:4294967295"` +} type SignedTreeHeadV1 struct { TreeHead TreeHeadV1 |