Documentation ¶
Overview ¶
Package store contains all of the functions used to create and manage a state store
Package store - put.go implements how we store an item ¶
Package store contains the backend data storage for our apps
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Backend ¶
type Backend interface { Put(namespace []byte, key []byte, value []byte) error Get(namespace []byte, key []byte) ([]byte, error) ForEach(namespace []byte, fun func([]byte, []byte) error) error CreateNamespace(namespace []byte) error }
Backend implements the storage functionality for this apps
func NewLocalBackend ¶
NewLocalBackend creates a new local datastore
Click to show internal directories.
Click to hide internal directories.