Documentation ¶
Index ¶
- type CodeMatchProtocolHandler
- func (cm *CodeMatchProtocolHandler) GetLabel() string
- func (cm *CodeMatchProtocolHandler) GetName() string
- func (cm *CodeMatchProtocolHandler) OnRead(data api.ReadRequest)
- func (cm *CodeMatchProtocolHandler) OnStart()
- func (cm *CodeMatchProtocolHandler) OnStop()
- func (p *CodeMatchProtocolHandler) Write(t *api.Thing, req api.WriteRequest)
- type DelegatingSimulationProtocolHandler
- func (p *DelegatingSimulationProtocolHandler) GetLabel() string
- func (p *DelegatingSimulationProtocolHandler) GetName() string
- func (p *DelegatingSimulationProtocolHandler) OnRead(payload api.ReadRequest)
- func (d *DelegatingSimulationProtocolHandler) OnStart()
- func (d *DelegatingSimulationProtocolHandler) OnStop()
- func (p *DelegatingSimulationProtocolHandler) Write(t *api.Thing, req api.WriteRequest)
- type EnOceanProtocolHandler
- func (p *EnOceanProtocolHandler) GetLabel() string
- func (p *EnOceanProtocolHandler) GetName() string
- func (p *EnOceanProtocolHandler) OnRead(payload api.ReadRequest)
- func (p *EnOceanProtocolHandler) OnStart()
- func (p *EnOceanProtocolHandler) OnStop()
- func (p *EnOceanProtocolHandler) Write(t *api.Thing, req api.WriteRequest)
- type ThingFuSimpleProtocolHandler
- func (p *ThingFuSimpleProtocolHandler) GetLabel() string
- func (p *ThingFuSimpleProtocolHandler) GetName() string
- func (p *ThingFuSimpleProtocolHandler) OnRead(payload api.ReadRequest)
- func (p *ThingFuSimpleProtocolHandler) OnStart()
- func (p *ThingFuSimpleProtocolHandler) OnStop()
- func (p *ThingFuSimpleProtocolHandler) Write(t *api.Thing, req api.WriteRequest)
- type WT450ProtocolHandler
- func (h *WT450ProtocolHandler) GetLabel() string
- func (h *WT450ProtocolHandler) GetName() string
- func (h *WT450ProtocolHandler) OnRead(data api.ReadRequest)
- func (h *WT450ProtocolHandler) OnStart()
- func (h *WT450ProtocolHandler) OnStop()
- func (p *WT450ProtocolHandler) Write(t *api.Thing, req api.WriteRequest)
- type ZWaveProtocolHandler
- func (p *ZWaveProtocolHandler) GetLabel() string
- func (p *ZWaveProtocolHandler) GetName() string
- func (p *ZWaveProtocolHandler) OnRead(payload api.ReadRequest)
- func (p *ZWaveProtocolHandler) OnStart()
- func (p *ZWaveProtocolHandler) OnStop()
- func (p *ZWaveProtocolHandler) Write(t *api.Thing, req api.WriteRequest)
- type ZigbeeProtocolHandler
- func (p *ZigbeeProtocolHandler) GetLabel() string
- func (p *ZigbeeProtocolHandler) GetName() string
- func (p *ZigbeeProtocolHandler) OnRead(payload api.ReadRequest)
- func (p *ZigbeeProtocolHandler) OnStart()
- func (p *ZigbeeProtocolHandler) OnStop()
- func (p *ZigbeeProtocolHandler) Write(t *api.Thing, req api.WriteRequest)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CodeMatchProtocolHandler ¶
type CodeMatchProtocolHandler struct {
api.BaseProtocolHandler
}
func (*CodeMatchProtocolHandler) GetLabel ¶
func (cm *CodeMatchProtocolHandler) GetLabel() string
func (*CodeMatchProtocolHandler) GetName ¶
func (cm *CodeMatchProtocolHandler) GetName() string
func (*CodeMatchProtocolHandler) OnRead ¶
func (cm *CodeMatchProtocolHandler) OnRead(data api.ReadRequest)
func (*CodeMatchProtocolHandler) OnStart ¶
func (cm *CodeMatchProtocolHandler) OnStart()
func (*CodeMatchProtocolHandler) OnStop ¶
func (cm *CodeMatchProtocolHandler) OnStop()
func (*CodeMatchProtocolHandler) Write ¶
func (p *CodeMatchProtocolHandler) Write(t *api.Thing, req api.WriteRequest)
type DelegatingSimulationProtocolHandler ¶
type DelegatingSimulationProtocolHandler struct {
api.BaseProtocolHandler
}
Protocol used by the Simulation URL This constructs and delegates to actual Protocol Handlers This is meant for debugging purposes. Not a good idea to expose this live
func (*DelegatingSimulationProtocolHandler) GetLabel ¶
func (p *DelegatingSimulationProtocolHandler) GetLabel() string
func (*DelegatingSimulationProtocolHandler) GetName ¶
func (p *DelegatingSimulationProtocolHandler) GetName() string
func (*DelegatingSimulationProtocolHandler) OnRead ¶
func (p *DelegatingSimulationProtocolHandler) OnRead(payload api.ReadRequest)
func (*DelegatingSimulationProtocolHandler) OnStart ¶
func (d *DelegatingSimulationProtocolHandler) OnStart()
func (*DelegatingSimulationProtocolHandler) OnStop ¶
func (d *DelegatingSimulationProtocolHandler) OnStop()
func (*DelegatingSimulationProtocolHandler) Write ¶
func (p *DelegatingSimulationProtocolHandler) Write(t *api.Thing, req api.WriteRequest)
type EnOceanProtocolHandler ¶
type EnOceanProtocolHandler struct {
api.BaseProtocolHandler
}
func (*EnOceanProtocolHandler) GetLabel ¶
func (p *EnOceanProtocolHandler) GetLabel() string
func (*EnOceanProtocolHandler) GetName ¶
func (p *EnOceanProtocolHandler) GetName() string
func (*EnOceanProtocolHandler) OnRead ¶
func (p *EnOceanProtocolHandler) OnRead(payload api.ReadRequest)
func (*EnOceanProtocolHandler) OnStart ¶
func (p *EnOceanProtocolHandler) OnStart()
func (*EnOceanProtocolHandler) OnStop ¶
func (p *EnOceanProtocolHandler) OnStop()
func (*EnOceanProtocolHandler) Write ¶
func (p *EnOceanProtocolHandler) Write(t *api.Thing, req api.WriteRequest)
type ThingFuSimpleProtocolHandler ¶
type ThingFuSimpleProtocolHandler struct {
api.BaseProtocolHandler
}
func (*ThingFuSimpleProtocolHandler) GetLabel ¶
func (p *ThingFuSimpleProtocolHandler) GetLabel() string
func (*ThingFuSimpleProtocolHandler) GetName ¶
func (p *ThingFuSimpleProtocolHandler) GetName() string
func (*ThingFuSimpleProtocolHandler) OnRead ¶
func (p *ThingFuSimpleProtocolHandler) OnRead(payload api.ReadRequest)
func (*ThingFuSimpleProtocolHandler) OnStart ¶
func (p *ThingFuSimpleProtocolHandler) OnStart()
func (*ThingFuSimpleProtocolHandler) OnStop ¶
func (p *ThingFuSimpleProtocolHandler) OnStop()
func (*ThingFuSimpleProtocolHandler) Write ¶
func (p *ThingFuSimpleProtocolHandler) Write(t *api.Thing, req api.WriteRequest)
type WT450ProtocolHandler ¶
type WT450ProtocolHandler struct {
api.BaseProtocolHandler
}
func (*WT450ProtocolHandler) GetLabel ¶
func (h *WT450ProtocolHandler) GetLabel() string
func (*WT450ProtocolHandler) GetName ¶
func (h *WT450ProtocolHandler) GetName() string
func (*WT450ProtocolHandler) OnRead ¶
func (h *WT450ProtocolHandler) OnRead(data api.ReadRequest)
func (*WT450ProtocolHandler) OnStart ¶
func (h *WT450ProtocolHandler) OnStart()
func (*WT450ProtocolHandler) OnStop ¶
func (h *WT450ProtocolHandler) OnStop()
func (*WT450ProtocolHandler) Write ¶
func (p *WT450ProtocolHandler) Write(t *api.Thing, req api.WriteRequest)
type ZWaveProtocolHandler ¶
type ZWaveProtocolHandler struct {
api.BaseProtocolHandler
}
func (*ZWaveProtocolHandler) GetLabel ¶
func (p *ZWaveProtocolHandler) GetLabel() string
func (*ZWaveProtocolHandler) GetName ¶
func (p *ZWaveProtocolHandler) GetName() string
func (*ZWaveProtocolHandler) OnRead ¶
func (p *ZWaveProtocolHandler) OnRead(payload api.ReadRequest)
func (*ZWaveProtocolHandler) OnStart ¶
func (p *ZWaveProtocolHandler) OnStart()
func (*ZWaveProtocolHandler) OnStop ¶
func (p *ZWaveProtocolHandler) OnStop()
func (*ZWaveProtocolHandler) Write ¶
func (p *ZWaveProtocolHandler) Write(t *api.Thing, req api.WriteRequest)
type ZigbeeProtocolHandler ¶
type ZigbeeProtocolHandler struct {
api.BaseProtocolHandler
}
func (*ZigbeeProtocolHandler) GetLabel ¶
func (p *ZigbeeProtocolHandler) GetLabel() string
func (*ZigbeeProtocolHandler) GetName ¶
func (p *ZigbeeProtocolHandler) GetName() string
func (*ZigbeeProtocolHandler) OnRead ¶
func (p *ZigbeeProtocolHandler) OnRead(payload api.ReadRequest)
func (*ZigbeeProtocolHandler) OnStart ¶
func (p *ZigbeeProtocolHandler) OnStart()
func (*ZigbeeProtocolHandler) OnStop ¶
func (p *ZigbeeProtocolHandler) OnStop()
func (*ZigbeeProtocolHandler) Write ¶
func (p *ZigbeeProtocolHandler) Write(t *api.Thing, req api.WriteRequest)
Click to show internal directories.
Click to hide internal directories.