diff --git a/store/store.go b/store/store.go index d073f4e1..c949f939 100644 --- a/store/store.go +++ b/store/store.go @@ -36,7 +36,7 @@ type Store interface { // Record is an item stored or retrieved from a Store type Record struct { - Key string - Value []byte - Expiry time.Duration + Key string `json:"key"` + Value []byte `json:"value"` + Expiry time.Duration `json:"expiry,omitempty"` }