Documentation ¶
Index ¶
- type Store
- type StoreImpl
- func (s *StoreImpl) Delete(ctx context.Context, userID string, imageID string) error
- func (s *StoreImpl) DeleteAll(ctx context.Context, userID string) error
- func (s *StoreImpl) DeleteContent(ctx context.Context, userID string, imageID string, contentID string) error
- func (s *StoreImpl) DeleteRenditionContent(ctx context.Context, userID string, imageID string, contentID string, ...) error
- func (s *StoreImpl) GetContent(ctx context.Context, userID string, imageID string, contentID string, ...) (io.ReadCloser, error)
- func (s *StoreImpl) GetRenditionContent(ctx context.Context, userID string, imageID string, contentID string, ...) (io.ReadCloser, error)
- func (s *StoreImpl) PutContent(ctx context.Context, userID string, imageID string, contentID string, ...) error
- func (s *StoreImpl) PutRenditionContent(ctx context.Context, userID string, imageID string, contentID string, ...) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Store ¶
type Store interface { PutContent(ctx context.Context, userID string, imageID string, contentID string, contentIntent string, reader io.Reader, options *storeUnstructured.Options) error GetContent(ctx context.Context, userID string, imageID string, contentID string, contentIntent string) (io.ReadCloser, error) DeleteContent(ctx context.Context, userID string, imageID string, contentID string) error PutRenditionContent(ctx context.Context, userID string, imageID string, contentID string, renditionsID string, renditionString string, reader io.Reader, options *storeUnstructured.Options) error GetRenditionContent(ctx context.Context, userID string, imageID string, contentID string, renditionsID string, renditionString string) (io.ReadCloser, error) DeleteRenditionContent(ctx context.Context, userID string, imageID string, contentID string, renditionsID string) error Delete(ctx context.Context, userID string, imageID string) error DeleteAll(ctx context.Context, userID string) error }
type StoreImpl ¶
type StoreImpl struct {
// contains filtered or unexported fields
}
func (*StoreImpl) DeleteContent ¶
func (*StoreImpl) DeleteRenditionContent ¶
func (*StoreImpl) GetContent ¶
func (*StoreImpl) GetRenditionContent ¶
func (*StoreImpl) PutContent ¶
Click to show internal directories.
Click to hide internal directories.