Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Error ¶
type Error struct { // code // Required: true Code *string `json:"code"` // message // Required: true Message *string `json:"message"` }
Error error
swagger:model Error
func (*Error) ContextValidate ¶
ContextValidate validates this error based on context it is used
func (*Error) MarshalBinary ¶
MarshalBinary interface implementation
func (*Error) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type ExperimentStatus ¶
type ExperimentStatus struct { // data // Required: true Data *StreamStatus `json:"data"` // name of the experiment // Example: spin30 // Required: true Name *string `json:"name"` // test // Required: true Test *TestStatus `json:"test"` // video // Required: true Video *StreamStatus `json:"video"` }
ExperimentStatus Status of an experiment
swagger:model ExperimentStatus
func (*ExperimentStatus) ContextValidate ¶
ContextValidate validate this experiment status based on the context it is used
func (*ExperimentStatus) MarshalBinary ¶
func (m *ExperimentStatus) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ExperimentStatus) UnmarshalBinary ¶
func (m *ExperimentStatus) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ExperimentStatuses ¶
type ExperimentStatuses []*ExperimentStatus
ExperimentStatuses List of experiment statuses
swagger:model ExperimentStatuses
func (ExperimentStatuses) ContextValidate ¶
ContextValidate validate this experiment statuses based on the context it is used
type JumpStatus ¶
type JumpStatus struct { // is the experiment currently actively sending? // Required: true Active *bool `json:"active"` // number of clients connected (0 if just the experiment) // Required: true Clients *int64 `json:"clients"` // is the experiment currently connected to jump? // Required: true Connected *bool `json:"connected"` // duration since last send by experiment // Required: true Last *string `json:"last"` // name of the experiment // Example: spin30 // Required: true Name *string `json:"name"` }
JumpStatus Status of the jump connection for an experiment
swagger:model JumpStatus
func (*JumpStatus) ContextValidate ¶
ContextValidate validates this jump status based on context it is used
func (*JumpStatus) MarshalBinary ¶
func (m *JumpStatus) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*JumpStatus) UnmarshalBinary ¶
func (m *JumpStatus) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type JumpStatuses ¶
type JumpStatuses []*JumpStatus
JumpStatuses List of jump statuses
swagger:model JumpStatuses
func (JumpStatuses) ContextValidate ¶
ContextValidate validate this jump statuses based on the context it is used
type StreamStatus ¶
type StreamStatus struct { // is the experiment currently actively sending? // Required: true Active *bool `json:"active"` // number of clients connected (0 if just the experiment) // Required: true Clients *int64 `json:"clients"` // is the experiment currently connected to relay? // Required: true Connected *bool `json:"connected"` // duration since last send by experiment // Required: true Last *string `json:"last"` // does the experiment require this stream? // Required: true Required *bool `json:"required"` }
StreamStatus Status of a stream
swagger:model StreamStatus
func (*StreamStatus) ContextValidate ¶
ContextValidate validates this stream status based on context it is used
func (*StreamStatus) MarshalBinary ¶
func (m *StreamStatus) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*StreamStatus) UnmarshalBinary ¶
func (m *StreamStatus) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type TestStatus ¶
type TestStatus struct { // number of tests attempted to date Attempts int64 `json:"attempts,omitempty"` // RFC3339 datetime of last test // Required: true Last *string `json:"last"` // did the experiment pass the test last time? // Required: true Passed *bool `json:"passed"` // number of tests passed to date Score int64 `json:"score,omitempty"` }
TestStatus Status of a test
swagger:model TestStatus
func (*TestStatus) ContextValidate ¶
ContextValidate validates this test status based on context it is used
func (*TestStatus) MarshalBinary ¶
func (m *TestStatus) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*TestStatus) UnmarshalBinary ¶
func (m *TestStatus) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation