Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Session ¶
type Session interface { io.Closer List(ctx context.Context, userID string, filter *blob.Filter, pagination *page.Pagination) (blob.BlobArray, error) Create(ctx context.Context, userID string, create *Create) (*blob.Blob, error) DeleteAll(ctx context.Context, userID string) (bool, error) DestroyAll(ctx context.Context, userID string) (bool, error) Get(ctx context.Context, id string, condition *request.Condition) (*blob.Blob, error) Update(ctx context.Context, id string, condition *request.Condition, update *Update) (*blob.Blob, error) Delete(ctx context.Context, id string, condition *request.Condition) (bool, error) Destroy(ctx context.Context, id string, condition *request.Condition) (bool, error) }
Click to show internal directories.
Click to hide internal directories.