Documentation
¶
Index ¶
- type DeviceInteractServer
- func (s *DeviceInteractServer) SendAction(ctx context.Context, in *di.SendActionReq) (*di.SendActionResp, error)
- func (s *DeviceInteractServer) SendMsg(ctx context.Context, in *di.SendMsgReq) (*di.SendMsgResp, error)
- func (s *DeviceInteractServer) SendProperty(ctx context.Context, in *di.SendPropertyReq) (*di.SendPropertyResp, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DeviceInteractServer ¶
type DeviceInteractServer struct { di.UnimplementedDeviceInteractServer // contains filtered or unexported fields }
func NewDeviceInteractServer ¶
func NewDeviceInteractServer(svcCtx *svc.ServiceContext) *DeviceInteractServer
func (*DeviceInteractServer) SendAction ¶
func (s *DeviceInteractServer) SendAction(ctx context.Context, in *di.SendActionReq) (*di.SendActionResp, error)
同步调用设备行为
func (*DeviceInteractServer) SendMsg ¶
func (s *DeviceInteractServer) SendMsg(ctx context.Context, in *di.SendMsgReq) (*di.SendMsgResp, error)
发送消息给设备
func (*DeviceInteractServer) SendProperty ¶
func (s *DeviceInteractServer) SendProperty(ctx context.Context, in *di.SendPropertyReq) (*di.SendPropertyResp, error)
同步调用设备属性
Click to show internal directories.
Click to hide internal directories.