Documentation ¶
Index ¶
- Variables
- func StartSession(ctx *respot.SessionContext) (respot.Session, error)
- type Session
- func (s *Session) Close() error
- func (s *Session) Context() *respot.SessionContext
- func (s *Session) Downloader() asset.Downloader
- func (sess *Session) Login() error
- func (s *Session) Mercury() *mercury.Client
- func (s *Session) PinTrack(trackID string, opts respot.PinOpts) (media.Asset, error)
- func (s *Session) Search(query string, limit int) (*mercury.SearchResponse, error)
- func (s *Session) StartConnection() error
- func (s *Session) Stream() connection.PacketStream
Constants ¶
This section is empty.
Variables ¶
View Source
var BuildID = "dev"
View Source
var Version = "master"
Functions ¶
func StartSession ¶
func StartSession(ctx *respot.SessionContext) (respot.Session, error)
Types ¶
type Session ¶
type Session struct {
// contains filtered or unexported fields
}
Session represents an active Spotify connection
func (*Session) Context ¶
func (s *Session) Context() *respot.SessionContext
func (*Session) Downloader ¶
func (s *Session) Downloader() asset.Downloader
func (*Session) StartConnection ¶
func (*Session) Stream ¶
func (s *Session) Stream() connection.PacketStream
Click to show internal directories.
Click to hide internal directories.