Documentation ¶
Overview ¶
Package store is a collection of composable interfaces that are can be implemented in order to build a storage driver
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CRUD ¶
type CRUD interface { Save(ctx context.Context, object *jsh.Object) (*jsh.Object, jsh.ErrorType) Get(ctx context.Context, id string) (*jsh.Object, jsh.ErrorType) List(ctx context.Context) (jsh.List, jsh.ErrorType) Update(ctx context.Context, object *jsh.Object) (*jsh.Object, jsh.ErrorType) Delete(ctx context.Context, id string) jsh.ErrorType }
CRUD implements all sub-storage functions
Click to show internal directories.
Click to hide internal directories.