Versions in this module Expand all Collapse all v1 v1.0.0 Apr 12, 2022 Changes in this version + var Module = fx.Options(fx.Provide(New)) + type Image struct + Error string + Height int + Hex string + RGBA color.RGBA + RawError error + URL string + Width int + type Spoty struct + func New(cfg *config.Config, logger *logger.Logger, tracer *tracer.Tracer, ...) (*Spoty, error) + func (s *Spoty) AuthURL() string + func (s *Spoty) Check() health.Check + func (s *Spoty) IsAuth() bool + func (s *Spoty) IsPlaying() bool + func (s *Spoty) SetupNewClient(r *http.Request) error + func (s *Spoty) TrackCurrentlyPlaying(ctx context.Context) (*spotify.FullTrack, error) + func (s *Spoty) TrackImages(ctx context.Context, track *spotify.FullTrack) ([]Image, error)