dropbox

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: 10 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 Dropbox

type Dropbox struct {
	Token *oauth2.Token
	Name  string
	Files map[string]*dropbox.ListContent
	Songs protocol.SongList
}

func (*Dropbox) GetSong

func (d *Dropbox) GetSong(id codec.ID) (codec.Song, error)

func (*Dropbox) Info

func (d *Dropbox) Info(id codec.ID) (*codec.SongInfo, error)

func (*Dropbox) Key

func (d *Dropbox) Key() string

func (*Dropbox) List

func (d *Dropbox) List() (protocol.SongList, error)

func (*Dropbox) Refresh

func (d *Dropbox) Refresh() (protocol.SongList, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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