receiver

package
v0.0.0-...-f38834e Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 17, 2018 License: MIT Imports: 1 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ApplicationSession

type ApplicationSession struct {
	AppID       *string      `json:"appId,omitempty"`
	DisplayName *string      `json:"displayName,omitempty"`
	Namespaces  []*Namespace `json:"namespaces"`
	SessionID   *string      `json:"sessionId,omitempty"`
	StatusText  *string      `json:"statusText,omitempty"`
	TransportId *string      `json:"transportId,omitempty"`
}

type LaunchRequest

type LaunchRequest struct {
	primitives.PayloadHeaders
	AppID *string `json:"appId,omitempty"`
}

type Namespace

type Namespace struct {
	Name string `json:"name"`
}

type ReceiverStatus

type ReceiverStatus struct {
	primitives.PayloadHeaders
	Applications []*ApplicationSession `json:"applications"`
	Volume       *Volume               `json:"volume,omitempty"`
}

func (*ReceiverStatus) GetSessionByNamespace

func (s *ReceiverStatus) GetSessionByNamespace(namespace string) *ApplicationSession

GetSessionByNamespace attempts to return the first session with a specified namespace.

type StatusResponse

type StatusResponse struct {
	primitives.PayloadHeaders
	Status *ReceiverStatus `json:"status,omitempty"`
}

type StopRequest

type StopRequest struct {
	primitives.PayloadHeaders
	SessionID *string `json:"sessionID,omitempty"`
}

type Volume

type Volume struct {
	Level *float64 `json:"level,omitempty"`
	Muted *bool    `json:"muted,omitempty"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL