Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DataStore ¶
type DataStore interface { Add(ctx context.Context, kind string, entity interface{}) error Put(ctx context.Context, kind, name string, entity interface{}) error Delete(ctx context.Context, kind, name string) error Get(ctx context.Context, kind, name string, decodeTo interface{}) error // Find executes a find command and returns an iterator over the matching items. Find(ctx context.Context, kind string) (Iterator, error) FindOne(ctx context.Context, kind, name string) (Iterator, error) IsExist(ctx context.Context, kind, name string) (bool, error) }
DataStore datastore interface
Click to show internal directories.
Click to hide internal directories.