userdevice

package
v1.0.6 Latest Latest
Warning

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

Go to latest
Published: Nov 17, 2024 License: AGPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AbnormalLogIndexReq added in v1.0.4

type AbnormalLogIndexReq = dm.AbnormalLogIndexReq

type AbnormalLogIndexResp added in v1.0.4

type AbnormalLogIndexResp = dm.AbnormalLogIndexResp

type AbnormalLogInfo added in v1.0.4

type AbnormalLogInfo = dm.AbnormalLogInfo

type ActionRespReq

type ActionRespReq = dm.ActionRespReq

type ActionSendReq

type ActionSendReq = dm.ActionSendReq

type ActionSendResp

type ActionSendResp = dm.ActionSendResp

type CommonSchemaCreateReq

type CommonSchemaCreateReq = dm.CommonSchemaCreateReq

type CommonSchemaIndexReq

type CommonSchemaIndexReq = dm.CommonSchemaIndexReq

type CommonSchemaIndexResp

type CommonSchemaIndexResp = dm.CommonSchemaIndexResp

type CommonSchemaInfo

type CommonSchemaInfo = dm.CommonSchemaInfo

type CommonSchemaUpdateReq

type CommonSchemaUpdateReq = dm.CommonSchemaUpdateReq

type CompareInt64

type CompareInt64 = dm.CompareInt64

type CompareString

type CompareString = dm.CompareString

type CustomTopic

type CustomTopic = dm.CustomTopic

type DeviceCore

type DeviceCore = dm.DeviceCore

type DeviceCountInfo

type DeviceCountInfo = dm.DeviceCountInfo

type DeviceCountReq

type DeviceCountReq = dm.DeviceCountReq

type DeviceCountResp

type DeviceCountResp = dm.DeviceCountResp

type DeviceError

type DeviceError = dm.DeviceError

type DeviceGatewayBindDevice

type DeviceGatewayBindDevice = dm.DeviceGatewayBindDevice

type DeviceGatewayIndexReq

type DeviceGatewayIndexReq = dm.DeviceGatewayIndexReq

type DeviceGatewayIndexResp

type DeviceGatewayIndexResp = dm.DeviceGatewayIndexResp

type DeviceGatewayMultiCreateReq

type DeviceGatewayMultiCreateReq = dm.DeviceGatewayMultiCreateReq

type DeviceGatewayMultiSaveReq

type DeviceGatewayMultiSaveReq = dm.DeviceGatewayMultiSaveReq

type DeviceGatewaySign

type DeviceGatewaySign = dm.DeviceGatewaySign

type DeviceInfo

type DeviceInfo = dm.DeviceInfo

type DeviceInfoBindReq

type DeviceInfoBindReq = dm.DeviceInfoBindReq

type DeviceInfoCanBindReq

type DeviceInfoCanBindReq = dm.DeviceInfoCanBindReq

type DeviceInfoCount

type DeviceInfoCount = dm.DeviceInfoCount

type DeviceInfoCountReq

type DeviceInfoCountReq = dm.DeviceInfoCountReq

type DeviceInfoDeleteReq

type DeviceInfoDeleteReq = dm.DeviceInfoDeleteReq

type DeviceInfoIndexReq

type DeviceInfoIndexReq = dm.DeviceInfoIndexReq

type DeviceInfoIndexResp

type DeviceInfoIndexResp = dm.DeviceInfoIndexResp

type DeviceInfoMultiBindReq

type DeviceInfoMultiBindReq = dm.DeviceInfoMultiBindReq

type DeviceInfoMultiBindResp

type DeviceInfoMultiBindResp = dm.DeviceInfoMultiBindResp

type DeviceInfoMultiUpdateReq

type DeviceInfoMultiUpdateReq = dm.DeviceInfoMultiUpdateReq

type DeviceInfoReadReq

type DeviceInfoReadReq = dm.DeviceInfoReadReq

type DeviceModuleVersion

type DeviceModuleVersion = dm.DeviceModuleVersion

type DeviceModuleVersionIndexReq

type DeviceModuleVersionIndexReq = dm.DeviceModuleVersionIndexReq

type DeviceModuleVersionIndexResp

type DeviceModuleVersionIndexResp = dm.DeviceModuleVersionIndexResp

type DeviceModuleVersionReadReq

type DeviceModuleVersionReadReq = dm.DeviceModuleVersionReadReq

type DeviceMoveReq

type DeviceMoveReq = dm.DeviceMoveReq

type DeviceOnlineMultiFix

type DeviceOnlineMultiFix = dm.DeviceOnlineMultiFix

type DeviceOnlineMultiFixReq

type DeviceOnlineMultiFixReq = dm.DeviceOnlineMultiFixReq

type DeviceProfile

type DeviceProfile = dm.DeviceProfile

type DeviceProfileIndexReq

type DeviceProfileIndexReq = dm.DeviceProfileIndexReq

type DeviceProfileIndexResp

type DeviceProfileIndexResp = dm.DeviceProfileIndexResp

type DeviceProfileReadReq

type DeviceProfileReadReq = dm.DeviceProfileReadReq

type DeviceSchema added in v1.0.4

type DeviceSchema = dm.DeviceSchema

type DeviceSchemaIndexReq added in v1.0.4

type DeviceSchemaIndexReq = dm.DeviceSchemaIndexReq

type DeviceSchemaIndexResp added in v1.0.4

type DeviceSchemaIndexResp = dm.DeviceSchemaIndexResp

type DeviceSchemaMultiCreateReq added in v1.0.4

type DeviceSchemaMultiCreateReq = dm.DeviceSchemaMultiCreateReq

type DeviceSchemaMultiDeleteReq added in v1.0.4

type DeviceSchemaMultiDeleteReq = dm.DeviceSchemaMultiDeleteReq

type DeviceSchemaTslReadReq added in v1.0.4

type DeviceSchemaTslReadReq = dm.DeviceSchemaTslReadReq

type DeviceSchemaTslReadResp added in v1.0.4

type DeviceSchemaTslReadResp = dm.DeviceSchemaTslReadResp

type DeviceShareInfo added in v1.0.3

type DeviceShareInfo = dm.DeviceShareInfo

type DeviceTransferReq

type DeviceTransferReq = dm.DeviceTransferReq

type DeviceTypeCountReq

type DeviceTypeCountReq = dm.DeviceTypeCountReq

type DeviceTypeCountResp

type DeviceTypeCountResp = dm.DeviceTypeCountResp

type EdgeSendReq added in v1.0.5

type EdgeSendReq = dm.EdgeSendReq

type EdgeSendResp added in v1.0.5

type EdgeSendResp = dm.EdgeSendResp

type Empty

type Empty = dm.Empty

type EventLogIndexReq

type EventLogIndexReq = dm.EventLogIndexReq

type EventLogIndexResp

type EventLogIndexResp = dm.EventLogIndexResp

type EventLogInfo

type EventLogInfo = dm.EventLogInfo

type Firmware

type Firmware = dm.Firmware

type FirmwareFile

type FirmwareFile = dm.FirmwareFile

type FirmwareInfo

type FirmwareInfo = dm.FirmwareInfo

type FirmwareInfoDeleteReq

type FirmwareInfoDeleteReq = dm.FirmwareInfoDeleteReq

type FirmwareInfoDeleteResp

type FirmwareInfoDeleteResp = dm.FirmwareInfoDeleteResp

type FirmwareInfoIndexReq

type FirmwareInfoIndexReq = dm.FirmwareInfoIndexReq

type FirmwareInfoIndexResp

type FirmwareInfoIndexResp = dm.FirmwareInfoIndexResp

type FirmwareInfoReadReq

type FirmwareInfoReadReq = dm.FirmwareInfoReadReq

type FirmwareInfoReadResp

type FirmwareInfoReadResp = dm.FirmwareInfoReadResp

type FirmwareResp

type FirmwareResp = dm.FirmwareResp

type GatewayCanBindIndexReq

type GatewayCanBindIndexReq = dm.GatewayCanBindIndexReq

type GatewayCanBindIndexResp

type GatewayCanBindIndexResp = dm.GatewayCanBindIndexResp

type GatewayGetFoundReq

type GatewayGetFoundReq = dm.GatewayGetFoundReq

type GatewayNotifyBindSendReq

type GatewayNotifyBindSendReq = dm.GatewayNotifyBindSendReq

type GroupCore added in v1.0.5

type GroupCore = dm.GroupCore

type GroupDeviceMultiDeleteReq

type GroupDeviceMultiDeleteReq = dm.GroupDeviceMultiDeleteReq

type GroupDeviceMultiSaveReq

type GroupDeviceMultiSaveReq = dm.GroupDeviceMultiSaveReq

type GroupInfo

type GroupInfo = dm.GroupInfo

type GroupInfoCreateReq

type GroupInfoCreateReq = dm.GroupInfoCreateReq

type GroupInfoIndexReq

type GroupInfoIndexReq = dm.GroupInfoIndexReq

type GroupInfoIndexResp

type GroupInfoIndexResp = dm.GroupInfoIndexResp

type GroupInfoMultiCreateReq added in v1.0.6

type GroupInfoMultiCreateReq = dm.GroupInfoMultiCreateReq

type GroupInfoUpdateReq

type GroupInfoUpdateReq = dm.GroupInfoUpdateReq

type HubLogIndexReq

type HubLogIndexReq = dm.HubLogIndexReq

type HubLogIndexResp

type HubLogIndexResp = dm.HubLogIndexResp

type HubLogInfo

type HubLogInfo = dm.HubLogInfo

type IDPath

type IDPath = dm.IDPath

type IDPathWithUpdate

type IDPathWithUpdate = dm.IDPathWithUpdate

type OtaFirmwareDeviceCancelReq

type OtaFirmwareDeviceCancelReq = dm.OtaFirmwareDeviceCancelReq

type OtaFirmwareDeviceConfirmReq

type OtaFirmwareDeviceConfirmReq = dm.OtaFirmwareDeviceConfirmReq

type OtaFirmwareDeviceIndexReq

type OtaFirmwareDeviceIndexReq = dm.OtaFirmwareDeviceIndexReq

type OtaFirmwareDeviceIndexResp

type OtaFirmwareDeviceIndexResp = dm.OtaFirmwareDeviceIndexResp

type OtaFirmwareDeviceInfo

type OtaFirmwareDeviceInfo = dm.OtaFirmwareDeviceInfo

type OtaFirmwareDeviceRetryReq

type OtaFirmwareDeviceRetryReq = dm.OtaFirmwareDeviceRetryReq

type OtaFirmwareFile

type OtaFirmwareFile = dm.OtaFirmwareFile

type OtaFirmwareFileIndexReq

type OtaFirmwareFileIndexReq = dm.OtaFirmwareFileIndexReq

type OtaFirmwareFileIndexResp

type OtaFirmwareFileIndexResp = dm.OtaFirmwareFileIndexResp

type OtaFirmwareFileInfo

type OtaFirmwareFileInfo = dm.OtaFirmwareFileInfo

type OtaFirmwareFileReq

type OtaFirmwareFileReq = dm.OtaFirmwareFileReq

type OtaFirmwareFileResp

type OtaFirmwareFileResp = dm.OtaFirmwareFileResp

type OtaFirmwareInfo

type OtaFirmwareInfo = dm.OtaFirmwareInfo

type OtaFirmwareInfoCreateReq

type OtaFirmwareInfoCreateReq = dm.OtaFirmwareInfoCreateReq

type OtaFirmwareInfoIndexReq

type OtaFirmwareInfoIndexReq = dm.OtaFirmwareInfoIndexReq

type OtaFirmwareInfoIndexResp

type OtaFirmwareInfoIndexResp = dm.OtaFirmwareInfoIndexResp

type OtaFirmwareInfoUpdateReq

type OtaFirmwareInfoUpdateReq = dm.OtaFirmwareInfoUpdateReq

type OtaFirmwareJobIndexReq

type OtaFirmwareJobIndexReq = dm.OtaFirmwareJobIndexReq

type OtaFirmwareJobIndexResp

type OtaFirmwareJobIndexResp = dm.OtaFirmwareJobIndexResp

type OtaFirmwareJobInfo

type OtaFirmwareJobInfo = dm.OtaFirmwareJobInfo

type OtaJobByDeviceIndexReq

type OtaJobByDeviceIndexReq = dm.OtaJobByDeviceIndexReq

type OtaJobDynamicInfo

type OtaJobDynamicInfo = dm.OtaJobDynamicInfo

type OtaJobStaticInfo

type OtaJobStaticInfo = dm.OtaJobStaticInfo

type OtaModuleInfo

type OtaModuleInfo = dm.OtaModuleInfo

type OtaModuleInfoIndexReq

type OtaModuleInfoIndexReq = dm.OtaModuleInfoIndexReq

type OtaModuleInfoIndexResp

type OtaModuleInfoIndexResp = dm.OtaModuleInfoIndexResp

type PageInfo

type PageInfo = dm.PageInfo

type PageInfo_OrderBy

type PageInfo_OrderBy = dm.PageInfo_OrderBy

type Point

type Point = dm.Point

type ProductCategory

type ProductCategory = dm.ProductCategory

type ProductCategoryIndexReq

type ProductCategoryIndexReq = dm.ProductCategoryIndexReq

type ProductCategoryIndexResp

type ProductCategoryIndexResp = dm.ProductCategoryIndexResp

type ProductCategorySchemaIndexReq

type ProductCategorySchemaIndexReq = dm.ProductCategorySchemaIndexReq

type ProductCategorySchemaIndexResp

type ProductCategorySchemaIndexResp = dm.ProductCategorySchemaIndexResp

type ProductCategorySchemaMultiSaveReq

type ProductCategorySchemaMultiSaveReq = dm.ProductCategorySchemaMultiSaveReq

type ProductCustom

type ProductCustom = dm.ProductCustom

type ProductCustomReadReq

type ProductCustomReadReq = dm.ProductCustomReadReq

type ProductCustomUi

type ProductCustomUi = dm.ProductCustomUi

type ProductInfo

type ProductInfo = dm.ProductInfo

type ProductInfoDeleteReq

type ProductInfoDeleteReq = dm.ProductInfoDeleteReq

type ProductInfoIndexReq

type ProductInfoIndexReq = dm.ProductInfoIndexReq

type ProductInfoIndexResp

type ProductInfoIndexResp = dm.ProductInfoIndexResp

type ProductInfoReadReq

type ProductInfoReadReq = dm.ProductInfoReadReq

type ProductInitReq

type ProductInitReq = dm.ProductInitReq

type ProductRemoteConfig

type ProductRemoteConfig = dm.ProductRemoteConfig

type ProductSchemaCreateReq

type ProductSchemaCreateReq = dm.ProductSchemaCreateReq

type ProductSchemaDeleteReq

type ProductSchemaDeleteReq = dm.ProductSchemaDeleteReq

type ProductSchemaIndexReq

type ProductSchemaIndexReq = dm.ProductSchemaIndexReq

type ProductSchemaIndexResp

type ProductSchemaIndexResp = dm.ProductSchemaIndexResp

type ProductSchemaInfo

type ProductSchemaInfo = dm.ProductSchemaInfo

type ProductSchemaMultiCreateReq

type ProductSchemaMultiCreateReq = dm.ProductSchemaMultiCreateReq

type ProductSchemaTslImportReq

type ProductSchemaTslImportReq = dm.ProductSchemaTslImportReq

type ProductSchemaTslReadReq

type ProductSchemaTslReadReq = dm.ProductSchemaTslReadReq

type ProductSchemaTslReadResp

type ProductSchemaTslReadResp = dm.ProductSchemaTslReadResp

type ProductSchemaUpdateReq

type ProductSchemaUpdateReq = dm.ProductSchemaUpdateReq

type PropertyControlMultiSendReq

type PropertyControlMultiSendReq = dm.PropertyControlMultiSendReq

type PropertyControlMultiSendResp

type PropertyControlMultiSendResp = dm.PropertyControlMultiSendResp

type PropertyControlSendMsg

type PropertyControlSendMsg = dm.PropertyControlSendMsg

type PropertyControlSendReq

type PropertyControlSendReq = dm.PropertyControlSendReq

type PropertyControlSendResp

type PropertyControlSendResp = dm.PropertyControlSendResp

type PropertyGetReportSendReq

type PropertyGetReportSendReq = dm.PropertyGetReportSendReq

type PropertyGetReportSendResp

type PropertyGetReportSendResp = dm.PropertyGetReportSendResp

type PropertyLogIndexReq

type PropertyLogIndexReq = dm.PropertyLogIndexReq

type PropertyLogIndexResp

type PropertyLogIndexResp = dm.PropertyLogIndexResp

type PropertyLogInfo

type PropertyLogInfo = dm.PropertyLogInfo

type PropertyLogLatestIndexReq

type PropertyLogLatestIndexReq = dm.PropertyLogLatestIndexReq

type ProtocolConfigField

type ProtocolConfigField = dm.ProtocolConfigField

type ProtocolConfigInfo

type ProtocolConfigInfo = dm.ProtocolConfigInfo

type ProtocolInfo

type ProtocolInfo = dm.ProtocolInfo

type ProtocolInfoIndexReq

type ProtocolInfoIndexReq = dm.ProtocolInfoIndexReq

type ProtocolInfoIndexResp

type ProtocolInfoIndexResp = dm.ProtocolInfoIndexResp

type ProtocolService added in v1.0.2

type ProtocolService = dm.ProtocolService

type ProtocolServiceIndexReq added in v1.0.2

type ProtocolServiceIndexReq = dm.ProtocolServiceIndexReq

type ProtocolServiceIndexResp added in v1.0.2

type ProtocolServiceIndexResp = dm.ProtocolServiceIndexResp

type RemoteConfigCreateReq

type RemoteConfigCreateReq = dm.RemoteConfigCreateReq

type RemoteConfigIndexReq

type RemoteConfigIndexReq = dm.RemoteConfigIndexReq

type RemoteConfigIndexResp

type RemoteConfigIndexResp = dm.RemoteConfigIndexResp

type RemoteConfigLastReadReq

type RemoteConfigLastReadReq = dm.RemoteConfigLastReadReq

type RemoteConfigLastReadResp

type RemoteConfigLastReadResp = dm.RemoteConfigLastReadResp

type RemoteConfigPushAllReq

type RemoteConfigPushAllReq = dm.RemoteConfigPushAllReq

type RespReadReq

type RespReadReq = dm.RespReadReq

type RootCheckReq

type RootCheckReq = dm.RootCheckReq

type SdkLogIndexReq

type SdkLogIndexReq = dm.SdkLogIndexReq

type SdkLogIndexResp

type SdkLogIndexResp = dm.SdkLogIndexResp

type SdkLogInfo

type SdkLogInfo = dm.SdkLogInfo

type SendLogIndexReq

type SendLogIndexReq = dm.SendLogIndexReq

type SendLogIndexResp

type SendLogIndexResp = dm.SendLogIndexResp

type SendLogInfo

type SendLogInfo = dm.SendLogInfo

type SendMsgReq

type SendMsgReq = dm.SendMsgReq

type SendMsgResp

type SendMsgResp = dm.SendMsgResp

type SendOption

type SendOption = dm.SendOption

type ShadowIndex

type ShadowIndex = dm.ShadowIndex

type ShadowIndexResp

type ShadowIndexResp = dm.ShadowIndexResp

type SharePerm

type SharePerm = dm.SharePerm

type StatusLogIndexReq

type StatusLogIndexReq = dm.StatusLogIndexReq

type StatusLogIndexResp

type StatusLogIndexResp = dm.StatusLogIndexResp

type StatusLogInfo

type StatusLogInfo = dm.StatusLogInfo

type TimeRange

type TimeRange = dm.TimeRange

type UserDevice

type UserDevice interface {
	// 用户收藏的设备
	UserDeviceCollectMultiCreate(ctx context.Context, in *UserDeviceCollectSave, opts ...grpc.CallOption) (*Empty, error)
	UserDeviceCollectMultiDelete(ctx context.Context, in *UserDeviceCollectSave, opts ...grpc.CallOption) (*Empty, error)
	UserDeviceCollectIndex(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*UserDeviceCollectSave, error)
	// 分享设备
	UserDeviceShareCreate(ctx context.Context, in *UserDeviceShareInfo, opts ...grpc.CallOption) (*WithID, error)
	// 更新权限
	UserDeviceShareUpdate(ctx context.Context, in *UserDeviceShareInfo, opts ...grpc.CallOption) (*Empty, error)
	// 取消分享设备
	UserDeviceShareDelete(ctx context.Context, in *UserDeviceShareReadReq, opts ...grpc.CallOption) (*Empty, error)
	// 取消分享设备
	UserDeviceShareMultiDelete(ctx context.Context, in *UserDeviceShareMultiDeleteReq, opts ...grpc.CallOption) (*Empty, error)
	// 获取设备分享列表(只有设备的所有者才能获取)
	UserDeviceShareIndex(ctx context.Context, in *UserDeviceShareIndexReq, opts ...grpc.CallOption) (*UserDeviceShareIndexResp, error)
	// 获取设备分享的详情
	UserDeviceShareRead(ctx context.Context, in *UserDeviceShareReadReq, opts ...grpc.CallOption) (*UserDeviceShareInfo, error)
	// 转让设备
	UserDeviceTransfer(ctx context.Context, in *DeviceTransferReq, opts ...grpc.CallOption) (*Empty, error)
	// rpc userDeviceOtaGetVersion(UserDeviceOtaGetVersionReq)returns(userDeviceOtaGetVersionResp);
	UserDeviceShareMultiCreate(ctx context.Context, in *UserDeviceShareMultiInfo, opts ...grpc.CallOption) (*UserDeviceShareMultiToken, error)
	// 扫码后获取设备列表
	UserDeivceShareMultiIndex(ctx context.Context, in *UserDeviceShareMultiToken, opts ...grpc.CallOption) (*UserDeviceShareMultiInfo, error)
	// 接受批量分享的设备
	UserDeivceShareMultiAccept(ctx context.Context, in *UserDeviceShareMultiAcceptReq, opts ...grpc.CallOption) (*Empty, error)
}

func NewDirectUserDevice

func NewDirectUserDevice(svcCtx *svc.ServiceContext, svr dm.UserDeviceServer) UserDevice

func NewUserDevice

func NewUserDevice(cli zrpc.Client) UserDevice

type UserDeviceCollectSave

type UserDeviceCollectSave = dm.UserDeviceCollectSave

type UserDeviceShareIndexReq

type UserDeviceShareIndexReq = dm.UserDeviceShareIndexReq

type UserDeviceShareIndexResp

type UserDeviceShareIndexResp = dm.UserDeviceShareIndexResp

type UserDeviceShareInfo

type UserDeviceShareInfo = dm.UserDeviceShareInfo

type UserDeviceShareMultiAcceptReq added in v1.0.2

type UserDeviceShareMultiAcceptReq = dm.UserDeviceShareMultiAcceptReq

type UserDeviceShareMultiDeleteReq

type UserDeviceShareMultiDeleteReq = dm.UserDeviceShareMultiDeleteReq

type UserDeviceShareMultiInfo added in v1.0.2

type UserDeviceShareMultiInfo = dm.UserDeviceShareMultiInfo

type UserDeviceShareMultiToken added in v1.0.2

type UserDeviceShareMultiToken = dm.UserDeviceShareMultiToken

type UserDeviceShareReadReq

type UserDeviceShareReadReq = dm.UserDeviceShareReadReq

type WithID

type WithID = dm.WithID

type WithIDChildren

type WithIDChildren = dm.WithIDChildren

type WithIDCode

type WithIDCode = dm.WithIDCode

type WithProfile

type WithProfile = dm.WithProfile

Jump to

Keyboard shortcuts

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