add noop broker and noop store (#30)

Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
This commit is contained in:
2020-09-03 15:11:05 +03:00
committed by GitHub
parent 0252addf05
commit c062aab1a9
8 changed files with 126 additions and 16 deletions

View File

@@ -9,8 +9,8 @@ import (
var (
// ErrNotFound is returned when a key doesn't exist
ErrNotFound = errors.New("not found")
DefaultStore Store
ErrNotFound = errors.New("not found")
DefaultStore Store = newStore()
)
// Store is a data storage interface