Versions in this module Expand all Collapse all v0 v0.2.134 Dec 25, 2019 Changes in this version + type MemoryDatastore struct + Data map[string][]byte + func NewMemoryDatastore() *MemoryDatastore + func (m *MemoryDatastore) AddPrefix(prefix string) datastore.Datastore + func (m *MemoryDatastore) Apply(key string, pb proto.Message) error + func (m *MemoryDatastore) Delete(key string) error + func (m *MemoryDatastore) IsLocked(key string) bool + func (m *MemoryDatastore) Lock(key string) bool + func (m *MemoryDatastore) Unlock(key string) bool + func (m MemoryDatastore) Get(key string, pb proto.Message) error + func (m MemoryDatastore) List(f func(length int) []proto.Message) error