Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AddUserResponse ¶
type GetInfoResponse ¶
type GetInfoResponse struct { Status int `json:"status"` StatusString string `json:"statusString"` SpotifyError int `json:"spotifyError"` Version string `json:"version"` LibraryVersion string `json:"libraryVersion"` AccountReq string `json:"accountReq"` BrandDisplayName string `json:"brandDisplayName"` ModelDisplayName string `json:"modelDisplayName"` VoiceSupport string `json:"voiceSupport"` Availability string `json:"availability"` ProductID int `json:"productID"` TokenType string `json:"tokenType"` GroupStatus string `json:"groupStatus"` ResolverVersion string `json:"resolverVersion"` Scope string `json:"scope"` DeviceID string `json:"deviceID"` RemoteName string `json:"remoteName"` PublicKey string `json:"publicKey"` DeviceType string `json:"deviceType"` ActiveUser string `json:"activeUser"` }
type HandleNewRequestFunc ¶
type HandleNewRequestFunc func(req NewUserRequest) bool
type NewUserRequest ¶
type Zeroconf ¶
type Zeroconf struct {
// contains filtered or unexported fields
}
func NewZeroconf ¶
func NewZeroconf(deviceName, deviceId string, deviceType devicespb.DeviceType) (_ *Zeroconf, err error)
func (*Zeroconf) Close ¶
func (z *Zeroconf) Close()
Close stops the zeroconf responder and HTTP listener, but does not close the last opened session.
func (*Zeroconf) Serve ¶
func (z *Zeroconf) Serve(handler HandleNewRequestFunc) error
func (*Zeroconf) SetCurrentUser ¶
Click to show internal directories.
Click to hide internal directories.