stream

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: 18 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
	Host 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(codec.ID) (codec.Song, error)

func (*Stream) Info

func (s *Stream) Info(codec.ID) (*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