Documentation
¶
Index ¶
- type DeviceInteract
- type EventIndex
- type EventIndexResp
- type EventLogIndexReq
- type HubLogIndex
- type HubLogIndexReq
- type HubLogIndexResp
- type PageInfo
- type PropertyIndex
- type PropertyIndexResp
- type PropertyLatestIndexReq
- type PropertyLogIndexReq
- type Response
- type SdkLogIndex
- type SdkLogIndexReq
- type SdkLogIndexResp
- type SendActionReq
- type SendActionResp
- type SendMsgReq
- type SendMsgResp
- type SendPropertyReq
- type SendPropertyResp
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DeviceInteract ¶
type DeviceInteract interface { // 同步调用设备行为 SendAction(ctx context.Context, in *SendActionReq, opts ...grpc.CallOption) (*SendActionResp, error) // 同步调用设备属性 SendProperty(ctx context.Context, in *SendPropertyReq, opts ...grpc.CallOption) (*SendPropertyResp, error) // 发送消息给设备 SendMsg(ctx context.Context, in *SendMsgReq, opts ...grpc.CallOption) (*SendMsgResp, error) }
func NewDeviceInteract ¶
func NewDeviceInteract(cli zrpc.Client) DeviceInteract
func NewDirectDeviceInteract ¶
func NewDirectDeviceInteract(svcCtx *svc.ServiceContext, svr di.DeviceInteractServer) DeviceInteract
type EventIndex ¶
type EventIndex = di.EventIndex
type EventIndexResp ¶
type EventIndexResp = di.EventIndexResp
type EventLogIndexReq ¶
type EventLogIndexReq = di.EventLogIndexReq
type HubLogIndex ¶
type HubLogIndex = di.HubLogIndex
type HubLogIndexReq ¶
type HubLogIndexReq = di.HubLogIndexReq
type HubLogIndexResp ¶
type HubLogIndexResp = di.HubLogIndexResp
type PropertyIndex ¶
type PropertyIndex = di.PropertyIndex
type PropertyIndexResp ¶
type PropertyIndexResp = di.PropertyIndexResp
type PropertyLatestIndexReq ¶
type PropertyLatestIndexReq = di.PropertyLatestIndexReq
type PropertyLogIndexReq ¶
type PropertyLogIndexReq = di.PropertyLogIndexReq
type SdkLogIndex ¶
type SdkLogIndex = di.SdkLogIndex
type SdkLogIndexReq ¶
type SdkLogIndexReq = di.SdkLogIndexReq
type SdkLogIndexResp ¶
type SdkLogIndexResp = di.SdkLogIndexResp
type SendActionReq ¶
type SendActionReq = di.SendActionReq
type SendActionResp ¶
type SendActionResp = di.SendActionResp
type SendMsgReq ¶
type SendMsgReq = di.SendMsgReq
type SendMsgResp ¶
type SendMsgResp = di.SendMsgResp
type SendPropertyReq ¶
type SendPropertyReq = di.SendPropertyReq
type SendPropertyResp ¶
type SendPropertyResp = di.SendPropertyResp
Click to show internal directories.
Click to hide internal directories.