Documentation ¶
Index ¶
- type DmServer
- func (s *DmServer) AccessAuth(ctx context.Context, in *dm.AccessAuthReq) (*dm.Response, error)
- func (s *DmServer) GetDeviceData(ctx context.Context, in *dm.GetDeviceDataReq) (*dm.GetDeviceDataResp, error)
- func (s *DmServer) GetDeviceInfo(ctx context.Context, in *dm.GetDeviceInfoReq) (*dm.GetDeviceInfoResp, error)
- func (s *DmServer) GetDeviceLog(ctx context.Context, in *dm.GetDeviceLogReq) (*dm.GetDeviceLogResp, error)
- func (s *DmServer) GetProductInfo(ctx context.Context, in *dm.GetProductInfoReq) (*dm.GetProductInfoResp, error)
- func (s *DmServer) LoginAuth(ctx context.Context, in *dm.LoginAuthReq) (*dm.Response, error)
- func (s *DmServer) ManageDevice(ctx context.Context, in *dm.ManageDeviceReq) (*dm.DeviceInfo, error)
- func (s *DmServer) ManageProduct(ctx context.Context, in *dm.ManageProductReq) (*dm.ProductInfo, error)
- func (s *DmServer) SendAction(ctx context.Context, in *dm.SendActionReq) (*dm.SendActionResp, error)
- func (s *DmServer) SendProperty(ctx context.Context, in *dm.SendPropertyReq) (*dm.SendPropertyResp, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DmServer ¶
type DmServer struct {
// contains filtered or unexported fields
}
func NewDmServer ¶
func NewDmServer(svcCtx *svc.ServiceContext) *DmServer
func (*DmServer) AccessAuth ¶
func (*DmServer) GetDeviceData ¶
func (s *DmServer) GetDeviceData(ctx context.Context, in *dm.GetDeviceDataReq) (*dm.GetDeviceDataResp, error)
func (*DmServer) GetDeviceInfo ¶
func (s *DmServer) GetDeviceInfo(ctx context.Context, in *dm.GetDeviceInfoReq) (*dm.GetDeviceInfoResp, error)
func (*DmServer) GetDeviceLog ¶
func (s *DmServer) GetDeviceLog(ctx context.Context, in *dm.GetDeviceLogReq) (*dm.GetDeviceLogResp, error)
func (*DmServer) GetProductInfo ¶
func (s *DmServer) GetProductInfo(ctx context.Context, in *dm.GetProductInfoReq) (*dm.GetProductInfoResp, error)
func (*DmServer) ManageDevice ¶
func (s *DmServer) ManageDevice(ctx context.Context, in *dm.ManageDeviceReq) (*dm.DeviceInfo, error)
func (*DmServer) ManageProduct ¶
func (s *DmServer) ManageProduct(ctx context.Context, in *dm.ManageProductReq) (*dm.ProductInfo, error)
func (*DmServer) SendAction ¶
func (s *DmServer) SendAction(ctx context.Context, in *dm.SendActionReq) (*dm.SendActionResp, error)
func (*DmServer) SendProperty ¶
func (s *DmServer) SendProperty(ctx context.Context, in *dm.SendPropertyReq) (*dm.SendPropertyResp, error)
Click to show internal directories.
Click to hide internal directories.