music

package
v0.0.0-...-9458f63 Latest Latest
Warning

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

Go to latest
Published: Dec 15, 2019 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Music

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

func NewMusic

func NewMusic(config *config.Config) *Music

func (*Music) Authenticate

func (m *Music) Authenticate(config *config.Config) func(http.ResponseWriter, *http.Request)

func (*Music) GetCurrentSong

func (m *Music) GetCurrentSong() (*spotify.ID, time.Duration, error)

func (*Music) GetSongAnalysis

func (m *Music) GetSongAnalysis(id spotify.ID) error

Jump to

Keyboard shortcuts

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