stream

package
v0.0.6 Latest Latest
Warning

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

Go to latest
Published: Jun 10, 2015 License: ISC Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

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

Types

type Stream

type Stream struct {
	Orig string
	URL  string
	Name string
	// contains filtered or unexported fields
}

func (*Stream) Close added in v0.0.4

func (s *Stream) Close() error

func (*Stream) GetSong

func (s *Stream) GetSong(string) (codec.Song, error)

func (*Stream) Info

func (s *Stream) Info(string) (*codec.SongInfo, error)

func (*Stream) Key

func (s *Stream) Key() string

func (*Stream) List

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

func (*Stream) Read added in v0.0.4

func (s *Stream) Read(p []byte) (n int, err error)

func (*Stream) Refresh

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

Jump to

Keyboard shortcuts

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