Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Canary ¶
type Canary struct {
// contains filtered or unexported fields
}
func (*Canary) GetMetricsHandler ¶
func (*Canary) ServeHTTP ¶
func (this *Canary) ServeHTTP(writer http.ResponseWriter, request *http.Request)
func (*Canary) StartTests ¶
func (this *Canary) StartTests()
type CommandRequestMsg ¶
type CommandRequestMsg = map[ProtocolSegmentName]string
type CommandResponseMsg ¶
type CommandResponseMsg = map[ProtocolSegmentName]string
type DeviceInfo ¶
type DeviceInfo = devicemetadata.DeviceInfo
type Event ¶
type Event interface { ProcessStartup(token string, info DeviceInfo) error ProcessTeardown(token string) error }
type LastValue ¶
type LastValue struct { Time string `json:"time"` Value interface{} `json:"value"` }
type OpenidToken ¶
type PermDevice ¶
type PermDevice = devicemetadata.PermDevice
type ProtocolSegmentName ¶
type ProtocolSegmentName = string
type RequestEnvelope ¶
type RequestEnvelope struct { CorrelationId string `json:"correlation_id"` Payload CommandRequestMsg `json:"payload"` Time int64 `json:"timestamp"` CompletionStrategy string `json:"completion_strategy"` }
type ResponseEnvelope ¶
type ResponseEnvelope struct { CorrelationId string `json:"correlation_id"` Payload CommandResponseMsg `json:"payload"` }
Click to show internal directories.
Click to hide internal directories.