Versions in this module Expand all Collapse all v0 v0.2.134 Dec 25, 2019 Changes in this version + func DefaultErrorMessage(err error) string + func IsNotFound(err error) bool + type Datastore interface + AddPrefix func(prefix string) Datastore + Apply func(key string, pb proto.Message) error + Delete func(key string) error + Get func(key string, pb proto.Message) error + IsLocked func(key string) bool + List func(f func(length int) []proto.Message) error + Lock func(key string) bool + Unlock func(key string) bool + type NotFound struct + func NewNotFound(key string) *NotFound + func (e NotFound) Error() string + func (e NotFound) IsNotFound() bool + type NotFoundError interface + Error func() string + IsNotFound func() bool + type Test struct + Name string + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*Test) Descriptor() ([]byte, []int) + func (*Test) ProtoMessage() + func (m *Test) GetName() string + func (m *Test) Reset() + func (m *Test) String() string + func (m *Test) XXX_DiscardUnknown() + func (m *Test) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *Test) XXX_Merge(src proto.Message) + func (m *Test) XXX_Size() int + func (m *Test) XXX_Unmarshal(b []byte) error