Documentation
¶
Overview ¶
Package virtuallinein is a generated VirtualLineIn package.
Index ¶
- Constants
- type CurrentTrackMetaData
- type NextArgs
- type NextResponse
- type PauseArgs
- type PauseResponse
- type PlayArgs
- type PlayResponse
- type PreviousArgs
- type PreviousResponse
- type Property
- type Service
- func (s *Service) Client() *http.Client
- func (s *Service) ControlEndpoint() *url.URL
- func (s *Service) EventEndpoint() *url.URL
- func (s *Service) Location() *url.URL
- func (s *Service) Next(args *NextArgs) (*NextResponse, error)
- func (zp *Service) ParseEvent(body []byte) []interface{}
- func (s *Service) Pause(args *PauseArgs) (*PauseResponse, error)
- func (s *Service) Play(args *PlayArgs) (*PlayResponse, error)
- func (s *Service) Previous(args *PreviousArgs) (*PreviousResponse, error)
- func (s *Service) SetVolume(args *SetVolumeArgs) (*SetVolumeResponse, error)
- func (s *Service) StartTransmission(args *StartTransmissionArgs) (*StartTransmissionResponse, error)
- func (s *Service) Stop(args *StopArgs) (*StopResponse, error)
- func (s *Service) StopTransmission(args *StopTransmissionArgs) (*StopTransmissionResponse, error)
- type ServiceOption
- type SetVolumeArgs
- type SetVolumeResponse
- type StartTransmissionArgs
- type StartTransmissionResponse
- type StopArgs
- type StopResponse
- type StopTransmissionArgs
- type StopTransmissionResponse
- type UpnpEvent
Constants ¶
View Source
const ( ServiceURN = "urn:schemas-upnp-org:service:VirtualLineIn:1" EncodingSchema = "http://schemas.xmlsoap.org/soap/encoding/" EnvelopeSchema = "http://schemas.xmlsoap.org/soap/envelope/" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CurrentTrackMetaData ¶
type CurrentTrackMetaData string
type NextResponse ¶
type NextResponse struct { }
type PauseResponse ¶
type PauseResponse struct { }
type PlayResponse ¶
type PlayResponse struct { }
type PreviousArgs ¶
type PreviousResponse ¶
type PreviousResponse struct { }
type Property ¶
type Property struct { XMLName xml.Name `xml:"property"` CurrentTrackMetaData *CurrentTrackMetaData `xml:"CurrentTrackMetaData"` }
type Service ¶
type Service struct { CurrentTrackMetaData *CurrentTrackMetaData // contains filtered or unexported fields }
func NewService ¶
func NewService(opts ...ServiceOption) *Service
func (*Service) ControlEndpoint ¶
func (*Service) EventEndpoint ¶
func (*Service) ParseEvent ¶
func (*Service) Previous ¶
func (s *Service) Previous(args *PreviousArgs) (*PreviousResponse, error)
func (*Service) SetVolume ¶
func (s *Service) SetVolume(args *SetVolumeArgs) (*SetVolumeResponse, error)
func (*Service) StartTransmission ¶
func (s *Service) StartTransmission(args *StartTransmissionArgs) (*StartTransmissionResponse, error)
func (*Service) StopTransmission ¶
func (s *Service) StopTransmission(args *StopTransmissionArgs) (*StopTransmissionResponse, error)
type ServiceOption ¶
type ServiceOption func(*Service)
func WithClient ¶
func WithClient(c *http.Client) ServiceOption
func WithLocation ¶
func WithLocation(u *url.URL) ServiceOption
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.