Add memory data store

This commit is contained in:
Asim Aslam
2019-06-11 17:49:34 +01:00
parent 8e4e710e15
commit 7727b359c8
2 changed files with 100 additions and 3 deletions

View File

@@ -28,7 +28,7 @@ type Data interface {
// Record represents a data record
type Record struct {
Key string
Value []byte
Expiration time.Duration
Key string
Value []byte
Expiry time.Duration
}