Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
Functions ¶
func Register ¶
func Register(name string, init Constructor)
Types ¶
type Constructor ¶
type NowPlayingInfo ¶
type PlayTracker ¶
type PlayTracker interface { NowPlaying(ctx context.Context, playerId string, playerName string, trackId string) error GetNowPlaying(ctx context.Context) ([]NowPlayingInfo, error) Submit(ctx context.Context, submissions []Submission) error }
func GetPlayTracker ¶
func GetPlayTracker(ds model.DataStore, broker events.Broker) PlayTracker
type Submission ¶
Click to show internal directories.
Click to hide internal directories.