Documentation ¶
Index ¶
- type Callback
- type Client
- func (m *Client) GetAlbum(id string) (*Spotify.Album, error)
- func (m *Client) GetArtist(id string) (*Spotify.Artist, error)
- func (m *Client) GetPlaylist(id string) (*Spotify.SelectedListContent, error)
- func (m *Client) GetRootPlaylist(username string) (*Spotify.SelectedListContent, error)
- func (m *Client) GetToken(clientId string, scopes string) (*metadata.Token, error)
- func (m *Client) GetTrack(id string) (*Spotify.Track, error)
- func (m *Client) Handle(cmd uint8, reader io.Reader) (err error)
- func (m *Client) NextSeq() []byte
- func (m *Client) NextSeqWithInt() (uint32, []byte)
- func (m *Client) Request(req Request, cb Callback) (err error)
- func (m *Client) Search(search string, limit int, country string, username string) (*metadata.SearchResponse, error)
- func (m *Client) Subscribe(uri string, recv chan Response, cb Callback) error
- func (m *Client) Suggest(search string) (*metadata.SuggestResult, error)
- type Connection
- type Internal
- type Pending
- type Request
- type Response
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func CreateMercury ¶
func CreateMercury(stream connection.PacketStream) *Client
CreateMercury initializes a Connection for the specified session.
func (*Client) GetPlaylist ¶
func (m *Client) GetPlaylist(id string) (*Spotify.SelectedListContent, error)
func (*Client) GetRootPlaylist ¶
func (m *Client) GetRootPlaylist(username string) (*Spotify.SelectedListContent, error)
func (*Client) NextSeqWithInt ¶
type Connection ¶
Click to show internal directories.
Click to hide internal directories.