Documentation ¶ Index ¶ func New(params []string, token *oauth2.Token) (protocol.Instance, error) type Stream func (s *Stream) GetSong(string) (codec.Song, error) func (s *Stream) Info(string) (*codec.SongInfo, error) func (s *Stream) Key() string func (s *Stream) List() (protocol.SongList, error) func (s *Stream) Refresh() (protocol.SongList, error) 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 { URL string } 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) Refresh ¶ func (s *Stream) Refresh() (protocol.SongList, error) Source Files ¶ View all Source files stream.go Click to show internal directories. Click to hide internal directories.