Documentation ¶
Overview ¶
Package store handles interaction with the backing store.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Provider ¶ added in v0.1.3
type Provider interface { // Put a document into the backing store. The provided data must marshal to // JSON. Put(key string, data interface{}) error // Get a document from the back store. The provided interface must be a // pointer to a type able to hold the JSON data. Get(key string, i interface{}) error }
Provider types are able to store and retrieve JSON documents from a backing store.
Click to show internal directories.
Click to hide internal directories.