trackusecase

package
v0.6.10-0...-926069d Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 25, 2023 License: GPL-3.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TrackIdentifier

type TrackIdentifier struct {
	TrackListID string `json:"tracklist_id"`
	TrackID     string `json:"track_id"`
}

type Usecase

type Usecase struct {
	// contains filtered or unexported fields
}

func NewUsecase

func NewUsecase(db trackentity.Store, songUsecase songusecase.Usecase, publisher rabbitmq.Publisher) Usecase

func (Usecase) GetTrackList

func (u Usecase) GetTrackList(ctx context.Context, songID string) (trackentity.TrackList, *api.Error)

func (Usecase) SetTrackList

func (u Usecase) SetTrackList(ctx context.Context, authHeader string, songID string, tracklist trackentity.TrackList) (trackentity.TrackList, *api.Error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL