app

package
v0.0.0-...-dcb5cf5 Latest Latest
Warning

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

Go to latest
Published: May 9, 2023 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type App

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

func New

func New(ctx context.Context, cfg *AppConfig) (*App, error)

func (*App) GetPlaylist

func (a *App) GetPlaylist(ctx context.Context, playlistID string) error

func (*App) GetShow

func (a *App) GetShow(ctx context.Context, showID string) error

func (*App) PlaylistFilter

func (a *App) PlaylistFilter(ctx context.Context, config *spotify.PlaylistFilterConfig) error

func (*App) RunAuthTest

func (a *App) RunAuthTest(ctx context.Context) error

func (*App) RunReset

func (a *App) RunReset(ctx context.Context) error

type AppConfig

type AppConfig struct {
	DevMode                bool
	SpotifyAppClientID     string `validate:"required"`
	SpotifyAppClientSecret string `validate:"required"`
	PublicAPIEndpoint      string `validate:"required"`
	ServerListenPort       uint16 `validate:"required"`
}

Directories

Path Synopsis
services

Jump to

Keyboard shortcuts

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