From 6a666c9c7db871c0b88152ad5a84e9f4a92a845c Mon Sep 17 00:00:00 2001
From: Jake Sanders <jake@micro.mu>
Date: Thu, 9 Apr 2020 19:38:43 +0100
Subject: [PATCH] Add json tags to store.Record (#1518)

---
 store/store.go | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

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"`
 }