package
Version:
v0.5.0
Opens a new window with list of versions in this module.
Published: Jan 26, 2021
License: MIT
Opens a new window with license information.
Imports: 0
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Package datastore implements datastore (key, value pair) interface.
type Datastore interface {
Get(key string) (value []byte, found bool)
}
Datastore is an interface for retrieving value using key.
Simple is a simple struct stores only one key, value pair.
This struct implement Datastore interface.
Simple.Get returns value using key.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.