Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DownloadHandler ¶
func NewDownloadHandler ¶
func NewDownloadHandler( handler client.Handler, log client.Logger, col *collection.Collection, cl *client.Client, ) *DownloadHandler
func (*DownloadHandler) DownloadPlaylist ¶
func (h *DownloadHandler) DownloadPlaylist(playlist string, to time.Duration) error
func (*DownloadHandler) DownloadSong ¶
func (h *DownloadHandler) DownloadSong(ns, id string, to time.Duration) error
func (*DownloadHandler) HandleMusicNodeMessage ¶
func (h *DownloadHandler) HandleMusicNodeMessage(m musicdata.SongDataMessage) error
func (*DownloadHandler) Wait ¶
func (h *DownloadHandler) Wait()
type ErrorFlasher ¶
type ErrorFlasher struct {
// contains filtered or unexported fields
}
func NewErrorFlasher ¶
func NewErrorFlasher(l client.Logger) *ErrorFlasher
func (*ErrorFlasher) Err ¶
func (e *ErrorFlasher) Err(err error)
Click to show internal directories.
Click to hide internal directories.