Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ActionReadLogic ¶ added in v0.4.1
func NewActionReadLogic ¶ added in v0.4.1
func NewActionReadLogic(ctx context.Context, svcCtx *svc.ServiceContext) *ActionReadLogic
func (*ActionReadLogic) ActionRead ¶ added in v0.4.1
func (l *ActionReadLogic) ActionRead(req *types.DeviceInteractRespReadReq) (resp *types.DeviceInteractSendActionResp, err error)
type GetPropertyReplyLogic ¶ added in v0.5.1
func NewGetPropertyReplyLogic ¶ added in v0.5.1
func NewGetPropertyReplyLogic(ctx context.Context, svcCtx *svc.ServiceContext) *GetPropertyReplyLogic
func (*GetPropertyReplyLogic) GetPropertyReply ¶ added in v0.5.1
func (l *GetPropertyReplyLogic) GetPropertyReply(req *types.DeviceInteractGetPropertyReplyReq) (resp *types.DeviceInteractGetPropertyReplyResp, err error)
type MultiSendPropertyLogic ¶ added in v0.5.1
func NewMultiSendPropertyLogic ¶ added in v0.5.1
func NewMultiSendPropertyLogic(ctx context.Context, svcCtx *svc.ServiceContext) *MultiSendPropertyLogic
func (*MultiSendPropertyLogic) MultiSendProperty ¶ added in v0.5.1
func (l *MultiSendPropertyLogic) MultiSendProperty(req *types.DeviceInteractMultiSendPropertyReq) (resp *types.DeviceInteractMultiSendPropertyResp, err error)
func (*MultiSendPropertyLogic) SendProperty ¶ added in v0.5.1
type PropertyReadLogic ¶ added in v0.4.1
func NewPropertyReadLogic ¶ added in v0.4.1
func NewPropertyReadLogic(ctx context.Context, svcCtx *svc.ServiceContext) *PropertyReadLogic
func (*PropertyReadLogic) PropertyRead ¶ added in v0.4.1
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)
Click to show internal directories.
Click to hide internal directories.