soundcloud

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Mar 1, 2016 License: ISC Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Init

func Init(clientID, clientSecret, redirect string)

func New

func New(params []string, token *oauth2.Token) (protocol.Instance, error)

Types

type Soundcloud

type Soundcloud struct {
	Token     *oauth2.Token
	Name      string
	Favorites map[codec.ID]*soundcloud.Favorite
}

func (*Soundcloud) GetSong

func (s *Soundcloud) GetSong(id codec.ID) (codec.Song, error)

func (*Soundcloud) Info

func (s *Soundcloud) Info(id codec.ID) (*codec.SongInfo, error)

func (*Soundcloud) Key

func (s *Soundcloud) Key() string

func (*Soundcloud) List

func (s *Soundcloud) List() (protocol.SongList, error)

func (*Soundcloud) Refresh

func (s *Soundcloud) Refresh() (protocol.SongList, error)

func (*Soundcloud) SongList

func (s *Soundcloud) SongList() protocol.SongList

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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