lookup

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Feb 23, 2025 License: AGPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Library

type Library interface {
	GetAlbumFull(ctx context.Context, id uuid.UUID) (library.AlbumFull, error)
	GetStreamingAlbumFull(ctx context.Context, id string) (library.AlbumFull, error)

	GetStreamingArtistFull(ctx context.Context, id string) (library.ArtistFull, error)
	GetArtistFull(ctx context.Context, id uuid.UUID) (library.ArtistFull, error)

	GetPlaylistFull(ctx context.Context, id uuid.UUID) (library.PlaylistFull, error)
}

type Service

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

func InitService

func InitService(lib Library, streaming *streaming.Client, logger *slog.Logger) *Service

func (*Service) Album

func (*Service) Artist

func (*Service) Playlist

Jump to

Keyboard shortcuts

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