Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LocalStore ¶
LocalStore is a local disk store
func NewLocalStore ¶
func NewLocalStore(root string) (*LocalStore, error)
NewLocalStore returns a local store based at the root directory
func (*LocalStore) Load ¶
func (m *LocalStore) Load(key string, thing interface{}) error
Load loads data from the key
func (*LocalStore) Save ¶
func (m *LocalStore) Save(key string, data interface{}) error
Save saves the data at the key
Click to show internal directories.
Click to hide internal directories.