Versions in this module Expand all Collapse all v1 v1.0.3 Oct 14, 2021 v1.0.2 Oct 12, 2021 Changes in this version + const CAST_DEFAULT_RECEIVER + const CAST_DEFAULT_SENDER + const CAST_NS_CONN + const CAST_NS_HEARTBEAT + const CAST_NS_MEDIA + const CAST_NS_RECV + const DELTA_LOOKUP_TIME + const READ_TIMEOUT + const SERVICE_TYPE_GOOGLECAST + const STATUS_INTERVAL + func NewAddedEvent(source gopi.Unit, device mutablehome.CastDevice) gopi.Event + func NewRemovedEvent(source gopi.Unit, device mutablehome.CastDevice) gopi.Event + func NewUpdatedEvent(source gopi.Unit, device mutablehome.CastDevice) gopi.Event + type Cast struct + Bus gopi.Bus + Discovery gopi.RPCServiceDiscovery + Timeout time.Duration + func (Cast) Name() string + func (config Cast) New(log gopi.Logger) (gopi.Unit, error) + type Device struct + Service gopi.RPCServiceRecord + func (Device) Name() string + func (config Device) New(log gopi.Logger) (gopi.Unit, error) + type LaunchAppRequest struct + AppId string + func (this *LaunchAppRequest) WithId(id int) Payload + type LoadMediaRequest struct + Autoplay bool + CurrentTime int + Media mediaItem + func (this *LoadMediaRequest) WithId(id int) Payload + type LoadQueueItem struct + Autoplay bool + Media mediaItem + PlaybackDuration uint + type LoadQueueRequest struct + Items []LoadQueueItem + RepeatMode string + type MediaStatusResponse struct + Status []media + type Payload interface + WithId func(id int) Payload + type PayloadHeader struct + RequestId int + Type string + func (this *PayloadHeader) WithId(id int) Payload + type ReceiverStatusResponse struct + Status struct{ ... } + type SetVolumeRequest struct + Volume volume + func (this *SetVolumeRequest) WithId(id int) Payload