Versions in this module Expand all Collapse all v0 v0.0.20 Aug 21, 2024 v0.0.19 Aug 21, 2024 Changes in this version + type Accesspoint struct + func NewAccesspoint(addr librespot.GetAddressFunc, deviceId string) *Accesspoint + func (ap *Accesspoint) Close() + func (ap *Accesspoint) Connect(creds *pb.LoginCredentials) error + func (ap *Accesspoint) ConnectBlob(username string, encryptedBlob64 []byte) error + func (ap *Accesspoint) ConnectSpotifyToken(username, token string) error + func (ap *Accesspoint) ConnectStored(username string, data []byte) error + func (ap *Accesspoint) Receive(types ...PacketType) <-chan Packet + func (ap *Accesspoint) Send(pktType PacketType, payload []byte) error + func (ap *Accesspoint) StoredCredentials() []byte + func (ap *Accesspoint) Username() string + type Packet struct + Payload []byte + Type PacketType + type PacketType byte + const PacketTypeAPWelcome + const PacketTypeAesKey + const PacketTypeAesKeyError + const PacketTypeAuthFailure + const PacketTypeChannelAbort + const PacketTypeChannelError + const PacketTypeCountryCode + const PacketTypeImage + const PacketTypeLegacyWelcome + const PacketTypeLicenseVersion + const PacketTypeLogin + const PacketTypeMercuryEvent + const PacketTypeMercuryReq + const PacketTypeMercurySub + const PacketTypeMercuryUnsub + const PacketTypePause + const PacketTypePing + const PacketTypePong + const PacketTypePongAck + const PacketTypePreferredLocale + const PacketTypeProductInfo + const PacketTypeRequestKey + const PacketTypeSecretBlock + const PacketTypeStreamChunk + const PacketTypeStreamChunkRes + const PacketTypeTrackEndedTime + const PacketTypeUnknown0f + const PacketTypeUnknown10 + const PacketTypeUnknown1f + const PacketTypeUnknown4f + func (i PacketType) String() string