Documentation ¶
Index ¶
- type BaseIDInt32Resp
- type BaseIDInt64Resp
- type BaseIDResp
- type BaseIDUint32Resp
- type BaseResp
- type BaseUUIDResp
- type Basic
- type BindCompanyListReq
- type BindCompanyReq
- type BindMemberListReq
- type BindMemberListResp
- type BindMemberReq
- type CompanyInfo
- type CompanyListReq
- type CompanyListResp
- type DeviceCustomerTagInfo
- type DeviceInfo
- type DeviceIotIdReq
- type DeviceListReq
- type DeviceListResp
- type DevicePropInfo
- type DevicePropListReq
- type DevicePropListResp
- type Empty
- type IDInt32Req
- type IDInt64Req
- type IDReq
- type IDUint32Req
- type IDsInt32Req
- type IDsInt64Req
- type IDsReq
- type IDsUint32Req
- type MemberInfo
- type MemberListReq
- type MemberListResp
- type MobileReq
- type PageInfoReq
- type ProductEventInfo
- type ProductEventListReq
- type ProductEventListResp
- type ProductInfo
- type ProductKeyReq
- type ProductListReq
- type ProductListResp
- type ProductPropertyInfo
- type ProductPropertyListReq
- type ProductPropertyListResp
- type ProductServiceInfo
- type ProductServiceListReq
- type ProductServiceListResp
- type ProductTagInfo
- type ProductTagListReq
- type ProductTagListResp
- type SyncDeviceReq
- type UUIDReq
- type UUIDsReq
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BaseIDInt32Resp ¶
type BaseIDInt32Resp = basic.BaseIDInt32Resp
type BaseIDInt64Resp ¶
type BaseIDInt64Resp = basic.BaseIDInt64Resp
type BaseIDResp ¶
type BaseIDResp = basic.BaseIDResp
type BaseIDUint32Resp ¶
type BaseIDUint32Resp = basic.BaseIDUint32Resp
type BaseUUIDResp ¶
type BaseUUIDResp = basic.BaseUUIDResp
type Basic ¶
type Basic interface { InitDatabase(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*BaseResp, error) // Bind management BindMember(ctx context.Context, in *BindMemberReq, opts ...grpc.CallOption) (*BaseResp, error) BindCompany(ctx context.Context, in *BindCompanyReq, opts ...grpc.CallOption) (*BaseResp, error) UnBindMember(ctx context.Context, in *BindMemberReq, opts ...grpc.CallOption) (*BaseResp, error) UnBindCompany(ctx context.Context, in *BindCompanyReq, opts ...grpc.CallOption) (*BaseResp, error) GetBindMemberList(ctx context.Context, in *BindMemberListReq, opts ...grpc.CallOption) (*DeviceListResp, error) GetBindCompanyList(ctx context.Context, in *BindCompanyListReq, opts ...grpc.CallOption) (*DeviceListResp, error) // Company management CreateCompany(ctx context.Context, in *CompanyInfo, opts ...grpc.CallOption) (*BaseIDResp, error) UpdateCompany(ctx context.Context, in *CompanyInfo, opts ...grpc.CallOption) (*BaseResp, error) GetCompanyList(ctx context.Context, in *CompanyListReq, opts ...grpc.CallOption) (*CompanyListResp, error) GetCompanyById(ctx context.Context, in *IDReq, opts ...grpc.CallOption) (*CompanyInfo, error) DeleteCompany(ctx context.Context, in *IDsReq, opts ...grpc.CallOption) (*BaseResp, error) // Device management CreateDevice(ctx context.Context, in *DeviceInfo, opts ...grpc.CallOption) (*BaseUUIDResp, error) UpdateDevice(ctx context.Context, in *DeviceInfo, opts ...grpc.CallOption) (*BaseResp, error) GetDeviceList(ctx context.Context, in *DeviceListReq, opts ...grpc.CallOption) (*DeviceListResp, error) GetDeviceById(ctx context.Context, in *UUIDReq, opts ...grpc.CallOption) (*DeviceInfo, error) GetDeviceByIotId(ctx context.Context, in *DeviceIotIdReq, opts ...grpc.CallOption) (*DeviceInfo, error) DeleteDevice(ctx context.Context, in *UUIDsReq, opts ...grpc.CallOption) (*BaseResp, error) SyncDevice(ctx context.Context, in *SyncDeviceReq, opts ...grpc.CallOption) (*BaseResp, error) GetDeviceCustomerTagByIotId(ctx context.Context, in *DeviceIotIdReq, opts ...grpc.CallOption) (*DeviceCustomerTagInfo, error) SyncDeviceCustomerTag(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*BaseResp, error) // DeviceProp management CreateDeviceProp(ctx context.Context, in *DevicePropInfo, opts ...grpc.CallOption) (*BaseIDResp, error) UpdateDeviceProp(ctx context.Context, in *DevicePropInfo, opts ...grpc.CallOption) (*BaseResp, error) GetDevicePropList(ctx context.Context, in *DevicePropListReq, opts ...grpc.CallOption) (*DevicePropListResp, error) GetDevicePropById(ctx context.Context, in *IDReq, opts ...grpc.CallOption) (*DevicePropInfo, error) GetDevicePropByIotId(ctx context.Context, in *DeviceIotIdReq, opts ...grpc.CallOption) (*DevicePropInfo, error) DeleteDeviceProp(ctx context.Context, in *IDsReq, opts ...grpc.CallOption) (*BaseResp, error) SyncDeviceProp(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*BaseResp, error) // Member management CreateMember(ctx context.Context, in *MemberInfo, opts ...grpc.CallOption) (*BaseUUIDResp, error) UpdateMember(ctx context.Context, in *MemberInfo, opts ...grpc.CallOption) (*BaseResp, error) GetMemberList(ctx context.Context, in *MemberListReq, opts ...grpc.CallOption) (*MemberListResp, error) GetMemberById(ctx context.Context, in *UUIDReq, opts ...grpc.CallOption) (*MemberInfo, error) GetMemberByMobile(ctx context.Context, in *MobileReq, opts ...grpc.CallOption) (*MemberInfo, error) DeleteMember(ctx context.Context, in *UUIDsReq, opts ...grpc.CallOption) (*BaseResp, error) // Product management CreateProduct(ctx context.Context, in *ProductInfo, opts ...grpc.CallOption) (*BaseUUIDResp, error) UpdateProduct(ctx context.Context, in *ProductInfo, opts ...grpc.CallOption) (*BaseResp, error) GetProductList(ctx context.Context, in *ProductListReq, opts ...grpc.CallOption) (*ProductListResp, error) GetProductById(ctx context.Context, in *UUIDReq, opts ...grpc.CallOption) (*ProductInfo, error) GetProductByKey(ctx context.Context, in *ProductKeyReq, opts ...grpc.CallOption) (*ProductInfo, error) DeleteProduct(ctx context.Context, in *UUIDsReq, opts ...grpc.CallOption) (*BaseResp, error) SyncProduct(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*BaseResp, error) // ProductEvent management CreateProductEvent(ctx context.Context, in *ProductEventInfo, opts ...grpc.CallOption) (*BaseIDResp, error) UpdateProductEvent(ctx context.Context, in *ProductEventInfo, opts ...grpc.CallOption) (*BaseResp, error) GetProductEventList(ctx context.Context, in *ProductEventListReq, opts ...grpc.CallOption) (*ProductEventListResp, error) GetProductEventById(ctx context.Context, in *IDReq, opts ...grpc.CallOption) (*ProductEventInfo, error) DeleteProductEvent(ctx context.Context, in *IDsReq, opts ...grpc.CallOption) (*BaseResp, error) // ProductProperty management CreateProductProperty(ctx context.Context, in *ProductPropertyInfo, opts ...grpc.CallOption) (*BaseIDResp, error) UpdateProductProperty(ctx context.Context, in *ProductPropertyInfo, opts ...grpc.CallOption) (*BaseResp, error) GetProductPropertyList(ctx context.Context, in *ProductPropertyListReq, opts ...grpc.CallOption) (*ProductPropertyListResp, error) GetProductPropertyById(ctx context.Context, in *IDReq, opts ...grpc.CallOption) (*ProductPropertyInfo, error) DeleteProductProperty(ctx context.Context, in *IDsReq, opts ...grpc.CallOption) (*BaseResp, error) // ProductService management CreateProductService(ctx context.Context, in *ProductServiceInfo, opts ...grpc.CallOption) (*BaseIDResp, error) UpdateProductService(ctx context.Context, in *ProductServiceInfo, opts ...grpc.CallOption) (*BaseResp, error) GetProductServiceList(ctx context.Context, in *ProductServiceListReq, opts ...grpc.CallOption) (*ProductServiceListResp, error) GetProductServiceById(ctx context.Context, in *IDReq, opts ...grpc.CallOption) (*ProductServiceInfo, error) DeleteProductService(ctx context.Context, in *IDsReq, opts ...grpc.CallOption) (*BaseResp, error) // ProductTag management CreateProductTag(ctx context.Context, in *ProductTagInfo, opts ...grpc.CallOption) (*BaseIDResp, error) UpdateProductTag(ctx context.Context, in *ProductTagInfo, opts ...grpc.CallOption) (*BaseResp, error) GetProductTagList(ctx context.Context, in *ProductTagListReq, opts ...grpc.CallOption) (*ProductTagListResp, error) GetProductTagById(ctx context.Context, in *IDReq, opts ...grpc.CallOption) (*ProductTagInfo, error) GetProductTagByKey(ctx context.Context, in *ProductKeyReq, opts ...grpc.CallOption) (*ProductTagListResp, error) DeleteProductTag(ctx context.Context, in *IDsReq, opts ...grpc.CallOption) (*BaseResp, error) SyncProductTag(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*BaseResp, error) SyncThingModel(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*BaseResp, error) }
type BindCompanyListReq ¶
type BindCompanyListReq = basic.BindCompanyListReq
type BindCompanyReq ¶
type BindCompanyReq = basic.BindCompanyReq
type BindMemberListReq ¶
type BindMemberListReq = basic.BindMemberListReq
type BindMemberListResp ¶
type BindMemberListResp = basic.BindMemberListResp
type BindMemberReq ¶
type BindMemberReq = basic.BindMemberReq
type CompanyInfo ¶
type CompanyInfo = basic.CompanyInfo
type CompanyListReq ¶
type CompanyListReq = basic.CompanyListReq
type CompanyListResp ¶
type CompanyListResp = basic.CompanyListResp
type DeviceCustomerTagInfo ¶
type DeviceCustomerTagInfo = basic.DeviceCustomerTagInfo
type DeviceInfo ¶
type DeviceInfo = basic.DeviceInfo
type DeviceIotIdReq ¶
type DeviceIotIdReq = basic.DeviceIotIdReq
type DeviceListReq ¶
type DeviceListReq = basic.DeviceListReq
type DeviceListResp ¶
type DeviceListResp = basic.DeviceListResp
type DevicePropInfo ¶
type DevicePropInfo = basic.DevicePropInfo
type DevicePropListReq ¶
type DevicePropListReq = basic.DevicePropListReq
type DevicePropListResp ¶
type DevicePropListResp = basic.DevicePropListResp
type IDInt32Req ¶
type IDInt32Req = basic.IDInt32Req
type IDInt64Req ¶
type IDInt64Req = basic.IDInt64Req
type IDUint32Req ¶
type IDUint32Req = basic.IDUint32Req
type IDsInt32Req ¶
type IDsInt32Req = basic.IDsInt32Req
type IDsInt64Req ¶
type IDsInt64Req = basic.IDsInt64Req
type IDsUint32Req ¶
type IDsUint32Req = basic.IDsUint32Req
type MemberInfo ¶
type MemberInfo = basic.MemberInfo
type MemberListReq ¶
type MemberListReq = basic.MemberListReq
type MemberListResp ¶
type MemberListResp = basic.MemberListResp
type PageInfoReq ¶
type PageInfoReq = basic.PageInfoReq
type ProductEventInfo ¶
type ProductEventInfo = basic.ProductEventInfo
type ProductEventListReq ¶
type ProductEventListReq = basic.ProductEventListReq
type ProductEventListResp ¶
type ProductEventListResp = basic.ProductEventListResp
type ProductInfo ¶
type ProductInfo = basic.ProductInfo
type ProductKeyReq ¶
type ProductKeyReq = basic.ProductKeyReq
type ProductListReq ¶
type ProductListReq = basic.ProductListReq
type ProductListResp ¶
type ProductListResp = basic.ProductListResp
type ProductPropertyInfo ¶
type ProductPropertyInfo = basic.ProductPropertyInfo
type ProductPropertyListReq ¶
type ProductPropertyListReq = basic.ProductPropertyListReq
type ProductPropertyListResp ¶
type ProductPropertyListResp = basic.ProductPropertyListResp
type ProductServiceInfo ¶
type ProductServiceInfo = basic.ProductServiceInfo
type ProductServiceListReq ¶
type ProductServiceListReq = basic.ProductServiceListReq
type ProductServiceListResp ¶
type ProductServiceListResp = basic.ProductServiceListResp
type ProductTagInfo ¶
type ProductTagInfo = basic.ProductTagInfo
type ProductTagListReq ¶
type ProductTagListReq = basic.ProductTagListReq
type ProductTagListResp ¶
type ProductTagListResp = basic.ProductTagListResp
type SyncDeviceReq ¶
type SyncDeviceReq = basic.SyncDeviceReq
Click to show internal directories.
Click to hide internal directories.