dmclient

package
v0.0.0-...-592b0ac Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 1, 2021 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AccessAuthReq

type AccessAuthReq = dm.AccessAuthReq

type DeviceData

type DeviceData = dm.DeviceData

type DeviceInfo

type DeviceInfo = dm.DeviceInfo

type Dm

type Dm interface {
	LoginAuth(ctx context.Context, in *LoginAuthReq) (*Response, error)
	AccessAuth(ctx context.Context, in *AccessAuthReq) (*Response, error)
	ManageDevice(ctx context.Context, in *ManageDeviceReq) (*DeviceInfo, error)
	ManageProduct(ctx context.Context, in *ManageProductReq) (*ProductInfo, error)
	GetProductInfo(ctx context.Context, in *GetProductInfoReq) (*GetProductInfoResp, error)
	GetDeviceInfo(ctx context.Context, in *GetDeviceInfoReq) (*GetDeviceInfoResp, error)
	GetDeviceData(ctx context.Context, in *GetDeviceDataReq) (*GetDeviceDataResp, error)
	GetDeviceLog(ctx context.Context, in *GetDeviceLogReq) (*GetDeviceLogResp, error)
	SendAction(ctx context.Context, in *SendActionReq) (*SendActionResp, error)
	SendProperty(ctx context.Context, in *SendPropertyReq) (*SendPropertyResp, error)
}

func NewDm

func NewDm(cli zrpc.Client) Dm

type GetDeviceDataReq

type GetDeviceDataReq = dm.GetDeviceDataReq

type GetDeviceDataResp

type GetDeviceDataResp = dm.GetDeviceDataResp

type GetDeviceInfoReq

type GetDeviceInfoReq = dm.GetDeviceInfoReq

type GetDeviceInfoResp

type GetDeviceInfoResp = dm.GetDeviceInfoResp

type GetDeviceLogReq

type GetDeviceLogReq = dm.GetDeviceLogReq

type GetDeviceLogResp

type GetDeviceLogResp = dm.GetDeviceLogResp

type GetProductInfoReq

type GetProductInfoReq = dm.GetProductInfoReq

type GetProductInfoResp

type GetProductInfoResp = dm.GetProductInfoResp

type LoginAuthReq

type LoginAuthReq = dm.LoginAuthReq

type ManResp

type ManResp = dm.ManResp

type ManageDeviceReq

type ManageDeviceReq = dm.ManageDeviceReq

type ManageProductReq

type ManageProductReq = dm.ManageProductReq

type PageInfo

type PageInfo = dm.PageInfo

type ProductInfo

type ProductInfo = dm.ProductInfo

type Response

type Response = dm.Response

type SendActionReq

type SendActionReq = dm.SendActionReq

type SendActionResp

type SendActionResp = dm.SendActionResp

type SendPropertyReq

type SendPropertyReq = dm.SendPropertyReq

type SendPropertyResp

type SendPropertyResp = dm.SendPropertyResp

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL