Documentation ¶
Index ¶
- type Session
- func (s *Session) Create(ctx context.Context, userID string, metadata *image.Metadata) (*image.Image, error)
- func (s *Session) Delete(ctx context.Context, id string, condition *request.Condition) (bool, error)
- func (s *Session) DeleteAll(ctx context.Context, userID string) (bool, error)
- func (s *Session) Destroy(ctx context.Context, id string, condition *request.Condition) (bool, error)
- func (s *Session) DestroyAll(ctx context.Context, userID string) (bool, error)
- func (s *Session) EnsureIndexes() error
- func (s *Session) Get(ctx context.Context, id string, condition *request.Condition) (*image.Image, error)
- func (s *Session) List(ctx context.Context, userID string, filter *image.Filter, ...) (image.ImageArray, error)
- func (s *Session) Update(ctx context.Context, id string, condition *request.Condition, ...) (*image.Image, error)
- type Store
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Session ¶
type Session struct {
*storeStructuredMongo.Session
}
func (*Session) DestroyAll ¶
func (*Session) EnsureIndexes ¶
type Store ¶
type Store struct {
*storeStructuredMongo.Store
}
func (*Store) EnsureIndexes ¶
func (*Store) NewSession ¶
func (s *Store) NewSession() imageStoreStructured.Session
Click to show internal directories.
Click to hide internal directories.