Documentation ¶
Index ¶
- type Session
- func (s *Session) Create(ctx context.Context, userID string, create *blobStoreStructured.Create) (*blob.Blob, error)
- func (s *Session) Delete(ctx context.Context, id string, condition *request.Condition) (bool, error)
- func (s *Session) EnsureIndexes() error
- func (s *Session) Get(ctx context.Context, id string) (*blob.Blob, error)
- func (s *Session) List(ctx context.Context, userID string, filter *blob.Filter, ...) (blob.Blobs, error)
- func (s *Session) Update(ctx context.Context, id string, condition *request.Condition, ...) (*blob.Blob, 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) EnsureIndexes ¶
type Store ¶
type Store struct {
*storeStructuredMongo.Store
}
func (*Store) EnsureIndexes ¶
func (*Store) NewSession ¶
func (s *Store) NewSession() blobStoreStructured.Session
Click to show internal directories.
Click to hide internal directories.