Documentation
¶
Index ¶
- type Body
- type BodyResponse
- type Envelope
- type EnvelopeResponse
- type NextArgs
- type NextResponse
- type PauseArgs
- type PauseResponse
- type PlayArgs
- type PlayResponse
- type PreviousArgs
- type PreviousResponse
- type 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
- type SetVolumeResponse
- type StartTransmissionArgs
- type StartTransmissionResponse
- type StopArgs
- type StopResponse
- type StopTransmissionArgs
- type StopTransmissionResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Body ¶
type Body struct {
XMLName xml.Name `xml:"s:Body"`
StartTransmission *StartTransmissionArgs `xml:"u:StartTransmission,omitempty"`
StopTransmission *StopTransmissionArgs `xml:"u:StopTransmission,omitempty"`
Play *PlayArgs `xml:"u:Play,omitempty"`
Pause *PauseArgs `xml:"u:Pause,omitempty"`
Next *NextArgs `xml:"u:Next,omitempty"`
Previous *PreviousArgs `xml:"u:Previous,omitempty"`
Stop *StopArgs `xml:"u:Stop,omitempty"`
SetVolume *SetVolumeArgs `xml:"u:SetVolume,omitempty"`
}
type BodyResponse ¶
type BodyResponse struct {
XMLName xml.Name `xml:"Body"`
StartTransmission *StartTransmissionResponse `xml:"StartTransmissionResponse,omitempty"`
StopTransmission *StopTransmissionResponse `xml:"StopTransmissionResponse,omitempty"`
Play *PlayResponse `xml:"PlayResponse,omitempty"`
Pause *PauseResponse `xml:"PauseResponse,omitempty"`
Next *NextResponse `xml:"NextResponse,omitempty"`
Previous *PreviousResponse `xml:"PreviousResponse,omitempty"`
Stop *StopResponse `xml:"StopResponse,omitempty"`
SetVolume *SetVolumeResponse `xml:"SetVolumeResponse,omitempty"`
}
type EnvelopeResponse ¶
type EnvelopeResponse struct {
XMLName xml.Name `xml:"Envelope"`
Xmlns string `xml:"xmlns:s,attr"`
EncodingStyle string `xml:"encodingStyle,attr"`
Body BodyResponse `xml:"Body"`
}
type NextResponse ¶
type NextResponse struct {
}
type PauseResponse ¶
type PauseResponse struct {
}
type PlayResponse ¶
type PlayResponse struct {
}
type PreviousArgs ¶
type PreviousResponse ¶
type PreviousResponse struct {
}
type Service ¶
func NewService ¶
func (*Service) Previous ¶
func (s *Service) Previous(httpClient *http.Client, args *PreviousArgs) (*PreviousResponse, error)
func (*Service) SetVolume ¶
func (s *Service) SetVolume(httpClient *http.Client, args *SetVolumeArgs) (*SetVolumeResponse, error)
func (*Service) StartTransmission ¶
func (s *Service) StartTransmission(httpClient *http.Client, args *StartTransmissionArgs) (*StartTransmissionResponse, error)
func (*Service) StopTransmission ¶
func (s *Service) StopTransmission(httpClient *http.Client, args *StopTransmissionArgs) (*StopTransmissionResponse, error)
type SetVolumeArgs ¶
type SetVolumeResponse ¶
type SetVolumeResponse struct {
}
type StartTransmissionArgs ¶
type StartTransmissionResponse ¶
type StartTransmissionResponse struct {
CurrentTransportSettings string `xml:"CurrentTransportSettings"`
}
type StopResponse ¶
type StopResponse struct {
}
type StopTransmissionArgs ¶
type StopTransmissionResponse ¶
type StopTransmissionResponse struct {
}
Click to show internal directories.
Click to hide internal directories.