Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MediaInteractor ¶
type MediaInteractor interface { Create(ctx context.Context, aggregate *domain.MediaAggregate) (*domain.Media, error) List(ctx context.Context, pageToken, pageSize string, filterParams core.FilterParams) ([]*domain.Media, string, error) Get(ctx context.Context, id string) (*domain.Media, error) Update(ctx context.Context, aggregate *domain.MediaUpdateAggregate) (*domain.Media, error) Delete(ctx context.Context, id string) error Restore(ctx context.Context, id string) error HardDelete(ctx context.Context, id string) error }
type MediaSAGAInteractor ¶
type MediaSAGAInteractor interface { VerifyAuthor(ctx context.Context, rootID string) error UpdateStatic(ctx context.Context, rootID string, urlJSON []byte) error RemoveStatic(ctx context.Context, rootID []byte) error Done(ctx context.Context, rootID, operation string) error Failed(ctx context.Context, rootID, operation, snapshot string) error }
Click to show internal directories.
Click to hide internal directories.