Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SongSource ¶
type SongSource interface {
// Starts the song source. This method should start the background thread and return.
// When new song is found it should be send to the channel. Channel should be closed
// when there is no more songs left.
Start(ctx context.Context, conf SourceJob, song chan<- Song) error
}
Click to show internal directories.
Click to hide internal directories.