lookup

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Mar 15, 2025 License: AGPL-3.0 Imports: 10 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)

	Image(ctx context.Context, id uuid.UUID) (io.ReadCloser, error)
}

type Service

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

func InitService

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

func (*Service) Album

func (*Service) Artist

func (*Service) Image added in v0.3.0

func (*Service) Playlist

Jump to

Keyboard shortcuts

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