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(in *di.RespReadReq) (*di.SendActionResp, error)
获取异步调用设备行为的结果
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(in *di.RespReadReq) (*di.SendPropertyResp, error)
获取异步调用设备属性的结果
type SendActionLogic ¶
func NewSendActionLogic ¶
func NewSendActionLogic(ctx context.Context, svcCtx *svc.ServiceContext) *SendActionLogic
func (*SendActionLogic) SendAction ¶
func (l *SendActionLogic) SendAction(in *di.SendActionReq) (*di.SendActionResp, error)
type SendMsgLogic ¶
func NewSendMsgLogic ¶
func NewSendMsgLogic(ctx context.Context, svcCtx *svc.ServiceContext) *SendMsgLogic
func (*SendMsgLogic) SendMsg ¶
func (l *SendMsgLogic) SendMsg(in *di.SendMsgReq) (*di.SendMsgResp, error)
发送消息给设备
type SendPropertyLogic ¶
func NewSendPropertyLogic ¶
func NewSendPropertyLogic(ctx context.Context, svcCtx *svc.ServiceContext) *SendPropertyLogic
func (*SendPropertyLogic) SendProperty ¶
func (l *SendPropertyLogic) SendProperty(in *di.SendPropertyReq) (*di.SendPropertyResp, error)
Click to show internal directories.
Click to hide internal directories.