Documentation ¶
Index ¶
Constants ¶
View Source
const ( KeyIdentifier = "Key" ValueIdentifier = "Value" )
Variables ¶
View Source
var (
KeyNotFoundError = errors.New("key not found")
)
Functions ¶
This section is empty.
Types ¶
type DatabaseRepository ¶
type KeyValue ¶
type KeyValue interface { Get(key string) (interface{}, error) Put(*models.KeyValuePair) error Delete(key string) error GetAll() ([]*models.KeyValuePair, error) PutMany([]*models.KeyValuePair) error }
Click to show internal directories.
Click to hide internal directories.