aboutsummaryrefslogtreecommitdiff
path: root/types/item.go
diff options
context:
space:
mode:
authorRasmus Dahlberg <rasmus.dahlberg@kau.se>2021-02-23 11:29:29 +0100
committerRasmus Dahlberg <rasmus.dahlberg@kau.se>2021-02-23 11:29:29 +0100
commit7d548d838fa9023e8be902dc3db47a3e78e592ea (patch)
treee6f7f8da44a29d848474d244f5dfd3c444aa593a /types/item.go
parent666e41811bdd46e24ced8ddd3448243ecb2f45c3 (diff)
added StItemList
Diffstat (limited to 'types/item.go')
-rw-r--r--types/item.go5
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