Documentation
¶
Index ¶
- type Connection
- type SimpleCoapConnectionModel
- func (simpleCoapConnectionModel SimpleCoapConnectionModel) HandleControllCommand(controllCommandModel models.ControllCommandModel, commands any) (map[string]any, error)
- func (simpleCoapConnectionModel SimpleCoapConnectionModel) HandleSensorRequest(sensedPropertyModel models.SensedPropertyModel) (map[string]any, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Connection ¶
type Connection interface {
HandleControllCommand(serviceDefinition models.ControllCommandModel, commands any) (map[string]any, error)
HandleSensorRequest(serviceDefinition models.SensedPropertyModel) (map[string]any, error)
// contains filtered or unexported methods
}
func NewConnection ¶
func NewConnection(physicalTwinConnection physicaltwinmodels.PhysicalTwinConnectionModel) (Connection, error)
type SimpleCoapConnectionModel ¶
func (SimpleCoapConnectionModel) HandleControllCommand ¶
func (simpleCoapConnectionModel SimpleCoapConnectionModel) HandleControllCommand(controllCommandModel models.ControllCommandModel, commands any) (map[string]any, error)
func (SimpleCoapConnectionModel) HandleSensorRequest ¶
func (simpleCoapConnectionModel SimpleCoapConnectionModel) HandleSensorRequest(sensedPropertyModel models.SensedPropertyModel) (map[string]any, error)
Click to show internal directories.
Click to hide internal directories.