Documentation ¶
Index ¶
- Constants
- type DoneNotification
- type Envelope
- type Impl
- func (this *Impl) GetImportEventDescriptions(importId string) (result []model.EventDesc, err error)
- func (this *Impl) GetServiceEventDescriptions(deviceId string, serviceId string) (result []model.EventDesc, err error)
- func (this *Impl) IsImportMessage(message model.ConsumerMessage) bool
- func (this *Impl) IsServiceMessage(message model.ConsumerMessage) bool
- func (this *Impl) ParseImportMessage(message model.ConsumerMessage) (importId string, payload Payload, err error)
- func (this *Impl) ParseServiceMessage(message model.ConsumerMessage) (deviceId string, serviceId string, payload Payload, err error)
- func (this *Impl) ResetCache()
- func (this *Impl) SerializeMessage(payload Payload, service models.Service) (result model.SerializedMessage, err error)
- type ImportEnvelope
- type Payload
Constants ¶
View Source
const ImportEnvelopeIdField = "import_id"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DoneNotification ¶
type Impl ¶
type Impl struct {
// contains filtered or unexported fields
}
func (*Impl) GetImportEventDescriptions ¶
func (*Impl) GetServiceEventDescriptions ¶
func (*Impl) IsImportMessage ¶
func (this *Impl) IsImportMessage(message model.ConsumerMessage) bool
urn_infai_ses_import_7f2620cb-002c-fc54-0c2e-5e840b7b0263
func (*Impl) IsServiceMessage ¶
func (this *Impl) IsServiceMessage(message model.ConsumerMessage) bool
urn_infai_ses_service_557a8519-c801-42c6-a5e0-d6d6450ec9ab
func (*Impl) ParseImportMessage ¶
func (*Impl) ParseServiceMessage ¶
func (*Impl) ResetCache ¶
func (this *Impl) ResetCache()
func (*Impl) SerializeMessage ¶
type ImportEnvelope ¶
type ImportEnvelope = map[string]interface{}
Click to show internal directories.
Click to hide internal directories.