Documentation
¶
Index ¶
- type Manager
- func (s *Manager) Create(ctx context.Context, accID account.AccountID, name string, partial Partial) (*collection.CollectionWithItems, error)
- func (s *Manager) Delete(ctx context.Context, qk collection.QueryKey) error
- func (s *Manager) Update(ctx context.Context, qk collection.QueryKey, partial Partial) (*collection.CollectionWithItems, error)
- type Partial
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Manager ¶
type Manager struct {
// contains filtered or unexported fields
}
func New ¶
func New( colQuerier *collection_querier.Querier, colWriter *collection_writer.Writer, ) *Manager
func (*Manager) Create ¶
func (s *Manager) Create(ctx context.Context, accID account.AccountID, name string, partial Partial) (*collection.CollectionWithItems, error)
func (*Manager) Update ¶
func (s *Manager) Update(ctx context.Context, qk collection.QueryKey, partial Partial) (*collection.CollectionWithItems, error)
Click to show internal directories.
Click to hide internal directories.