Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LyricsClient ¶
type LyricsClient struct {
// contains filtered or unexported fields
}
func NewLyricsClient ¶
func NewLyricsClient(cacheDir string, cacheTime time.Duration) (*LyricsClient, error)
func (*LyricsClient) LoadResult ¶
func (c *LyricsClient) LoadResult(r *LyricsSearchResult) error
func (*LyricsClient) Search ¶
func (c *LyricsClient) Search(t Track) (*LyricsSearch, error)
type LyricsSearch ¶
type LyricsSearch struct { Artist string `json:"artist"` Song string `json:"song"` Search string `json:"search"` Results []*LyricsSearchResult `json:"results"` }
type LyricsSearchResult ¶
Click to show internal directories.
Click to hide internal directories.