Documentation ¶
Index ¶
- func ProvideService(db db.DB, toggles featuremgmt.FeatureToggles, ...) playlist.Service
- type Service
- func (s *Service) Create(ctx context.Context, cmd *playlist.CreatePlaylistCommand) (*playlist.Playlist, error)
- func (s *Service) Delete(ctx context.Context, cmd *playlist.DeletePlaylistCommand) error
- func (s *Service) Get(ctx context.Context, q *playlist.GetPlaylistByUidQuery) (*playlist.PlaylistDTO, error)
- func (s *Service) GetWithoutItems(ctx context.Context, q *playlist.GetPlaylistByUidQuery) (*playlist.Playlist, error)
- func (s *Service) Search(ctx context.Context, q *playlist.GetPlaylistsQuery) (playlist.Playlists, error)
- func (s *Service) Update(ctx context.Context, cmd *playlist.UpdatePlaylistCommand) (*playlist.PlaylistDTO, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ProvideService ¶
func ProvideService(db db.DB, toggles featuremgmt.FeatureToggles, objserver entity.EntityStoreServer) playlist.Service
Types ¶
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
func (*Service) Get ¶
func (s *Service) Get(ctx context.Context, q *playlist.GetPlaylistByUidQuery) (*playlist.PlaylistDTO, error)
func (*Service) GetWithoutItems ¶
func (*Service) Update ¶
func (s *Service) Update(ctx context.Context, cmd *playlist.UpdatePlaylistCommand) (*playlist.PlaylistDTO, error)
Click to show internal directories.
Click to hide internal directories.