From 42a909c1ad8f6772ffdef94f4fb9162054ae7887 Mon Sep 17 00:00:00 2001 From: TwinProduction Date: Sat, 17 Jul 2021 20:18:27 -0400 Subject: [PATCH] Update documentation --- storage/store/memory/memory.go | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/storage/store/memory/memory.go b/storage/store/memory/memory.go index df34bb13..155534b2 100644 --- a/storage/store/memory/memory.go +++ b/storage/store/memory/memory.go @@ -25,7 +25,10 @@ type Store struct { cache *gocache.Cache } -// NewStore creates a new store +// NewStore creates a new store using gocache.Cache +// +// This store holds everything in memory, and if the file parameter is not blank, +// supports eventual persistence. func NewStore(file string) (*Store, error) { store := &Store{ file: file,