Documentation ¶
Index ¶
- type AspectCommand
- type CharacteristicCommand
- type ConceptCommand
- type DeviceClassCommand
- type DeviceCommand
- type DeviceGroupCommand
- type DeviceTypeCommand
- type FunctionCommand
- type HubCommand
- type ProtocolCommand
- type Publisher
- func (this *Publisher) PublishAspect(aspect models.Aspect, userid string) error
- func (this *Publisher) PublishAspectCommand(cmd AspectCommand) error
- func (this *Publisher) PublishCharacteristic(characteristic models.Characteristic, userid string) error
- func (this *Publisher) PublishCharacteristicCommand(cmd CharacteristicCommand) error
- func (this *Publisher) PublishConcept(concept models.Concept, userid string) error
- func (this *Publisher) PublishConceptCommand(cmd ConceptCommand) error
- func (this *Publisher) PublishDevice(device models.Device, userId string) (err error)
- func (this *Publisher) PublishDeviceClass(deviceClass models.DeviceClass, userid string) error
- func (this *Publisher) PublishDeviceClassCommand(cmd DeviceClassCommand) error
- func (this *Publisher) PublishDeviceCommand(cmd DeviceCommand) error
- func (this *Publisher) PublishDeviceGroup(dg models.DeviceGroup, userId string) (err error)
- func (this *Publisher) PublishDeviceGroupCommand(cmd DeviceGroupCommand) error
- func (this *Publisher) PublishDeviceType(device models.DeviceType, userId string) (err error)
- func (this *Publisher) PublishDeviceTypeCommand(cmd DeviceTypeCommand) error
- func (this *Publisher) PublishDeviceTypeDelete(id string, userId string) error
- func (this *Publisher) PublishFunction(function models.Function, userid string) error
- func (this *Publisher) PublishFunctionCommand(cmd FunctionCommand) error
- func (this *Publisher) PublishHub(hub models.Hub, userId string) (err error)
- func (this *Publisher) PublishHubCommand(cmd HubCommand) error
- func (this *Publisher) PublishHubDelete(id string, userId string) error
- func (this *Publisher) PublishProtocol(device models.Protocol, userId string) (err error)
- func (this *Publisher) PublishProtocolCommand(cmd ProtocolCommand) error
- func (this *Publisher) PublishProtocolDelete(id string, userId string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AspectCommand ¶
type CharacteristicCommand ¶
type CharacteristicCommand struct { Command string `json:"command"` Id string `json:"id"` Owner string `json:"owner"` Characteristic models.Characteristic `json:"characteristic"` }
type ConceptCommand ¶
type DeviceClassCommand ¶
type DeviceClassCommand struct { Command string `json:"command"` Id string `json:"id"` Owner string `json:"owner"` DeviceClass models.DeviceClass `json:"device_class"` }
type DeviceCommand ¶
type DeviceGroupCommand ¶
type DeviceGroupCommand struct { Command string `json:"command"` Id string `json:"id"` Owner string `json:"owner"` DeviceGroup models.DeviceGroup `json:"device_group"` }
type DeviceTypeCommand ¶
type DeviceTypeCommand struct { Command string `json:"command"` Id string `json:"id"` Owner string `json:"owner"` DeviceType models.DeviceType `json:"device_type"` }
type FunctionCommand ¶
type HubCommand ¶
type ProtocolCommand ¶
type Publisher ¶
type Publisher struct {
// contains filtered or unexported fields
}
func (*Publisher) PublishAspect ¶
func (*Publisher) PublishAspectCommand ¶
func (this *Publisher) PublishAspectCommand(cmd AspectCommand) error
func (*Publisher) PublishCharacteristic ¶
func (this *Publisher) PublishCharacteristic(characteristic models.Characteristic, userid string) error
func (*Publisher) PublishCharacteristicCommand ¶
func (this *Publisher) PublishCharacteristicCommand(cmd CharacteristicCommand) error
func (*Publisher) PublishConcept ¶
func (*Publisher) PublishConceptCommand ¶
func (this *Publisher) PublishConceptCommand(cmd ConceptCommand) error
func (*Publisher) PublishDevice ¶
func (*Publisher) PublishDeviceClass ¶
func (this *Publisher) PublishDeviceClass(deviceClass models.DeviceClass, userid string) error
func (*Publisher) PublishDeviceClassCommand ¶
func (this *Publisher) PublishDeviceClassCommand(cmd DeviceClassCommand) error
func (*Publisher) PublishDeviceCommand ¶
func (this *Publisher) PublishDeviceCommand(cmd DeviceCommand) error
func (*Publisher) PublishDeviceGroup ¶
func (this *Publisher) PublishDeviceGroup(dg models.DeviceGroup, userId string) (err error)
func (*Publisher) PublishDeviceGroupCommand ¶
func (this *Publisher) PublishDeviceGroupCommand(cmd DeviceGroupCommand) error
func (*Publisher) PublishDeviceType ¶
func (this *Publisher) PublishDeviceType(device models.DeviceType, userId string) (err error)
func (*Publisher) PublishDeviceTypeCommand ¶
func (this *Publisher) PublishDeviceTypeCommand(cmd DeviceTypeCommand) error
func (*Publisher) PublishDeviceTypeDelete ¶
func (*Publisher) PublishFunction ¶
func (*Publisher) PublishFunctionCommand ¶
func (this *Publisher) PublishFunctionCommand(cmd FunctionCommand) error
func (*Publisher) PublishHub ¶
func (*Publisher) PublishHubCommand ¶
func (this *Publisher) PublishHubCommand(cmd HubCommand) error
func (*Publisher) PublishHubDelete ¶
func (*Publisher) PublishProtocol ¶
func (*Publisher) PublishProtocolCommand ¶
func (this *Publisher) PublishProtocolCommand(cmd ProtocolCommand) error
Click to show internal directories.
Click to hide internal directories.