Versions in this module Expand all Collapse all v0 v0.0.1 Jul 19, 2020 Changes in this version + type Body struct + Next *NextArgs + Pause *PauseArgs + Play *PlayArgs + Previous *PreviousArgs + SetVolume *SetVolumeArgs + StartTransmission *StartTransmissionArgs + Stop *StopArgs + StopTransmission *StopTransmissionArgs + XMLName xml.Name + type BodyResponse struct + Next *NextResponse + Pause *PauseResponse + Play *PlayResponse + Previous *PreviousResponse + SetVolume *SetVolumeResponse + StartTransmission *StartTransmissionResponse + Stop *StopResponse + StopTransmission *StopTransmissionResponse + XMLName xml.Name + type Envelope struct + Body Body + EncodingStyle string + XMLName xml.Name + Xmlns string + type EnvelopeResponse struct + Body BodyResponse + EncodingStyle string + XMLName xml.Name + Xmlns string + type NextArgs struct + InstanceID uint32 + Xmlns string + type NextResponse struct + type PauseArgs struct + InstanceID uint32 + Xmlns string + type PauseResponse struct + type PlayArgs struct + InstanceID uint32 + Speed string + Xmlns string + type PlayResponse struct + type PreviousArgs struct + InstanceID uint32 + Xmlns string + type PreviousResponse struct + type Service struct + ControlEndpoint *url.URL + EventEndpoint *url.URL + func NewService(deviceUrl *url.URL) *Service + func (s *Service) Next(httpClient *http.Client, args *NextArgs) (*NextResponse, error) + func (s *Service) Pause(httpClient *http.Client, args *PauseArgs) (*PauseResponse, error) + func (s *Service) Play(httpClient *http.Client, args *PlayArgs) (*PlayResponse, error) + func (s *Service) Previous(httpClient *http.Client, args *PreviousArgs) (*PreviousResponse, error) + func (s *Service) SetVolume(httpClient *http.Client, args *SetVolumeArgs) (*SetVolumeResponse, error) + func (s *Service) StartTransmission(httpClient *http.Client, args *StartTransmissionArgs) (*StartTransmissionResponse, error) + func (s *Service) Stop(httpClient *http.Client, args *StopArgs) (*StopResponse, error) + func (s *Service) StopTransmission(httpClient *http.Client, args *StopTransmissionArgs) (*StopTransmissionResponse, error) + type SetVolumeArgs struct + DesiredVolume uint16 + InstanceID uint32 + Xmlns string + type SetVolumeResponse struct + type StartTransmissionArgs struct + CoordinatorID string + InstanceID uint32 + Xmlns string + type StartTransmissionResponse struct + CurrentTransportSettings string + type StopArgs struct + InstanceID uint32 + Xmlns string + type StopResponse struct + type StopTransmissionArgs struct + CoordinatorID string + InstanceID uint32 + Xmlns string + type StopTransmissionResponse struct