finder

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Jun 23, 2025 License: GPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Service

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

Service finds lyrics for a song using the enabled providers.

func New

func New(providers []provider.Service) (*Service, error)

New creates a new Service with the selected configs.

func (*Service) GetSongLyrics

func (l *Service) GetSongLyrics(params provider.SearchParams) (models.Lyrics, error)

GetSongLyrics search for song's lyrics using the enabled providers list, where using a provider depends on the provider's order in that list.

returns [Lyrics] and an occurring [error]

Jump to

Keyboard shortcuts

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