Documentation ¶ Index ¶ type Service func Init(streaming streaming.StreamingClient, logger *slog.Logger) Service func (s *Service) GetAlbums(ctx context.Context) ([]client.Album, error) func (s *Service) GetArtists(ctx context.Context) ([]client.Artist, error) func (s *Service) GetPage(ctx context.Context) ([]client.Entry, error) func (s *Service) GetPlaylists(ctx context.Context) ([]client.Playlist, error) 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 } func Init ¶ func Init(streaming streaming.StreamingClient, logger *slog.Logger) Service func (*Service) GetAlbums ¶ func (s *Service) GetAlbums(ctx context.Context) ([]client.Album, error) func (*Service) GetArtists ¶ func (s *Service) GetArtists(ctx context.Context) ([]client.Artist, error) func (*Service) GetPage ¶ func (s *Service) GetPage(ctx context.Context) ([]client.Entry, error) func (*Service) GetPlaylists ¶ func (s *Service) GetPlaylists(ctx context.Context) ([]client.Playlist, error) Source Files ¶ View all Source files streaming.go Click to show internal directories. Click to hide internal directories.