Documentation ¶
Index ¶
- type ActionReadLogic
- type ActionSendLogic
- type GatewayGetFoundSendLogic
- type GatewayNotifyBindSendLogic
- type MultiSendPropertyControlLogic
- func (l *MultiSendPropertyControlLogic) MultiSendPropertyControl(req *types.DeviceInteractMultiSendPropertyReq) (resp *types.DeviceInteractMultiSendPropertyResp, err error)
- func (l *MultiSendPropertyControlLogic) SendProperty(productID string, deviceNames []string, devices []*types.DeviceCore, ...) error
- type MultiSendPropertyLogic
- type PropertyControlMultiSendLogic
- type PropertyControlReadLogic
- type PropertyControlSendLogic
- type PropertyGetReportSendLogic
- type PropertyReadLogic
- type SendActionLogic
- type SendMsgLogic
- type SendPropertyLogic
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ActionReadLogic ¶
func NewActionReadLogic ¶
func NewActionReadLogic(ctx context.Context, svcCtx *svc.ServiceContext) *ActionReadLogic
func (*ActionReadLogic) ActionRead ¶
func (l *ActionReadLogic) ActionRead(req *types.DeviceInteractRespReadReq) (resp *types.DeviceInteractSendActionResp, err error)
type ActionSendLogic ¶
func NewActionSendLogic ¶
func NewActionSendLogic(ctx context.Context, svcCtx *svc.ServiceContext) *ActionSendLogic
func (*ActionSendLogic) ActionSend ¶
func (l *ActionSendLogic) ActionSend(req *types.DeviceInteractSendActionReq) (resp *types.DeviceInteractSendActionResp, err error)
type GatewayGetFoundSendLogic ¶
func NewGatewayGetFoundSendLogic ¶
func NewGatewayGetFoundSendLogic(ctx context.Context, svcCtx *svc.ServiceContext) *GatewayGetFoundSendLogic
func (*GatewayGetFoundSendLogic) GatewayGetFoundSend ¶
func (l *GatewayGetFoundSendLogic) GatewayGetFoundSend(req *types.GatewayGetFoundReq) error
type GatewayNotifyBindSendLogic ¶
func NewGatewayNotifyBindSendLogic ¶
func NewGatewayNotifyBindSendLogic(ctx context.Context, svcCtx *svc.ServiceContext) *GatewayNotifyBindSendLogic
func (*GatewayNotifyBindSendLogic) GatewayNotifyBindSend ¶
func (l *GatewayNotifyBindSendLogic) GatewayNotifyBindSend(req *types.GatewayNotifyBindSendReq) error
type MultiSendPropertyControlLogic ¶
func NewMultiSendPropertyControlLogic ¶
func NewMultiSendPropertyControlLogic(ctx context.Context, svcCtx *svc.ServiceContext) *MultiSendPropertyControlLogic
func (*MultiSendPropertyControlLogic) MultiSendPropertyControl ¶
func (l *MultiSendPropertyControlLogic) MultiSendPropertyControl(req *types.DeviceInteractMultiSendPropertyReq) (resp *types.DeviceInteractMultiSendPropertyResp, err error)
func (*MultiSendPropertyControlLogic) SendProperty ¶
func (l *MultiSendPropertyControlLogic) SendProperty(productID string, deviceNames []string, devices []*types.DeviceCore, data string, shadowControl int64) error
type MultiSendPropertyLogic ¶
func NewMultiSendPropertyLogic ¶
func NewMultiSendPropertyLogic(ctx context.Context, svcCtx *svc.ServiceContext) *MultiSendPropertyLogic
func (*MultiSendPropertyLogic) MultiSendProperty ¶
func (l *MultiSendPropertyLogic) MultiSendProperty(req *types.DeviceInteractMultiSendPropertyReq) (resp *types.DeviceInteractMultiSendPropertyResp, err error)
type PropertyControlMultiSendLogic ¶
func NewPropertyControlMultiSendLogic ¶
func NewPropertyControlMultiSendLogic(ctx context.Context, svcCtx *svc.ServiceContext) *PropertyControlMultiSendLogic
func (*PropertyControlMultiSendLogic) PropertyControlMultiSend ¶
func (l *PropertyControlMultiSendLogic) PropertyControlMultiSend(req *types.DeviceInteractMultiSendPropertyReq) (resp *types.DeviceInteractMultiSendPropertyResp, err error)
type PropertyControlReadLogic ¶
func NewPropertyControlReadLogic ¶
func NewPropertyControlReadLogic(ctx context.Context, svcCtx *svc.ServiceContext) *PropertyControlReadLogic
func (*PropertyControlReadLogic) PropertyControlRead ¶
func (l *PropertyControlReadLogic) PropertyControlRead(req *types.DeviceInteractRespReadReq) (resp *types.DeviceInteractSendPropertyResp, err error)
type PropertyControlSendLogic ¶
func NewPropertyControlSendLogic ¶
func NewPropertyControlSendLogic(ctx context.Context, svcCtx *svc.ServiceContext) *PropertyControlSendLogic
func (*PropertyControlSendLogic) PropertyControlSend ¶
func (l *PropertyControlSendLogic) PropertyControlSend(req *types.DeviceInteractSendPropertyReq) (resp *types.DeviceInteractSendPropertyResp, err error)
type PropertyGetReportSendLogic ¶
func NewPropertyGetReportSendLogic ¶
func NewPropertyGetReportSendLogic(ctx context.Context, svcCtx *svc.ServiceContext) *PropertyGetReportSendLogic
func (*PropertyGetReportSendLogic) PropertyGetReportSend ¶
func (l *PropertyGetReportSendLogic) PropertyGetReportSend(req *types.DeviceInteractPropertyGetReportSendReq) (resp *types.DeviceInteractPropertyGetReportSendResp, err error)
type PropertyReadLogic ¶
func NewPropertyReadLogic ¶
func NewPropertyReadLogic(ctx context.Context, svcCtx *svc.ServiceContext) *PropertyReadLogic
func (*PropertyReadLogic) PropertyRead ¶
func (l *PropertyReadLogic) PropertyRead(req *types.DeviceInteractRespReadReq) (resp *types.DeviceInteractSendPropertyResp, err error)
type SendActionLogic ¶
func NewSendActionLogic ¶
func NewSendActionLogic(ctx context.Context, svcCtx *svc.ServiceContext) *SendActionLogic
func (*SendActionLogic) SendAction ¶
func (l *SendActionLogic) SendAction(req *types.DeviceInteractSendActionReq) (resp *types.DeviceInteractSendActionResp, err error)
调用设备行为
type SendMsgLogic ¶
func NewSendMsgLogic ¶
func NewSendMsgLogic(ctx context.Context, svcCtx *svc.ServiceContext) *SendMsgLogic
func (*SendMsgLogic) SendMsg ¶
func (l *SendMsgLogic) SendMsg(req *types.DeviceInteractSendMsgReq) error
type SendPropertyLogic ¶
func NewSendPropertyLogic ¶
func NewSendPropertyLogic(ctx context.Context, svcCtx *svc.ServiceContext) *SendPropertyLogic
func (*SendPropertyLogic) SendProperty ¶
func (l *SendPropertyLogic) SendProperty(req *types.DeviceInteractSendPropertyReq) (resp *types.DeviceInteractSendPropertyResp, err error)
Source Files ¶
- actionReadLogic.go
- actionSendLogic.go
- gatewayGetFoundSendLogic.go
- gatewayNotifyBindSendLogic.go
- multiSendPropertyControlLogic.go
- multiSendPropertyLogic.go
- propertyControlMultiSendLogic.go
- propertyControlReadLogic.go
- propertyControlSendLogic.go
- propertyGetReportSendLogic.go
- propertyReadLogic.go
- sendActionLogic.go
- sendMsgLogic.go
- sendPropertyLogic.go
Click to show internal directories.
Click to hide internal directories.