Documentation ¶
Index ¶
- func ToUserDeviceSharePb(in *relationDB.DmUserDeviceShare) *dm.UserDeviceShareInfo
- func ToUserDeviceSharePbs(in []*relationDB.DmUserDeviceShare) (ret []*dm.UserDeviceShareInfo)
- type UserDeivceShareMultiAcceptLogic
- type UserDeivceShareMultiIndexLogic
- type UserDeviceCollectIndexLogic
- type UserDeviceCollectMultiCreateLogic
- type UserDeviceCollectMultiDeleteLogic
- type UserDeviceShareCreateLogic
- type UserDeviceShareDeleteLogic
- type UserDeviceShareIndexLogic
- type UserDeviceShareMultiCreateLogic
- type UserDeviceShareMultiDeleteLogic
- type UserDeviceShareReadLogic
- type UserDeviceShareUpdateLogic
- type UserDeviceTransferLogic
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ToUserDeviceSharePb ¶
func ToUserDeviceSharePb(in *relationDB.DmUserDeviceShare) *dm.UserDeviceShareInfo
func ToUserDeviceSharePbs ¶
func ToUserDeviceSharePbs(in []*relationDB.DmUserDeviceShare) (ret []*dm.UserDeviceShareInfo)
Types ¶
type UserDeivceShareMultiAcceptLogic ¶ added in v1.0.2
type UserDeivceShareMultiAcceptLogic struct { // contains filtered or unexported fields }
func NewUserDeivceShareMultiAcceptLogic ¶ added in v1.0.2
func NewUserDeivceShareMultiAcceptLogic(ctx context.Context, svcCtx *svc.ServiceContext) *UserDeivceShareMultiAcceptLogic
func (*UserDeivceShareMultiAcceptLogic) UserDeivceShareMultiAccept ¶ added in v1.0.2
func (l *UserDeivceShareMultiAcceptLogic) UserDeivceShareMultiAccept(in *dm.UserDeviceShareMultiAcceptReq) (*dm.Empty, error)
接受批量分享的设备
type UserDeivceShareMultiIndexLogic ¶ added in v1.0.2
type UserDeivceShareMultiIndexLogic struct { // contains filtered or unexported fields }
func NewUserDeivceShareMultiIndexLogic ¶ added in v1.0.2
func NewUserDeivceShareMultiIndexLogic(ctx context.Context, svcCtx *svc.ServiceContext) *UserDeivceShareMultiIndexLogic
func (*UserDeivceShareMultiIndexLogic) UserDeivceShareMultiIndex ¶ added in v1.0.2
func (l *UserDeivceShareMultiIndexLogic) UserDeivceShareMultiIndex(in *dm.UserDeviceShareMultiToken) (*dm.UserDeviceShareMultiInfo, error)
扫码后获取设备列表
type UserDeviceCollectIndexLogic ¶
func NewUserDeviceCollectIndexLogic ¶
func NewUserDeviceCollectIndexLogic(ctx context.Context, svcCtx *svc.ServiceContext) *UserDeviceCollectIndexLogic
func (*UserDeviceCollectIndexLogic) UserDeviceCollectIndex ¶
func (l *UserDeviceCollectIndexLogic) UserDeviceCollectIndex(in *dm.Empty) (*dm.UserDeviceCollectSave, error)
type UserDeviceCollectMultiCreateLogic ¶
type UserDeviceCollectMultiCreateLogic struct { logx.Logger // contains filtered or unexported fields }
func NewUserDeviceCollectMultiCreateLogic ¶
func NewUserDeviceCollectMultiCreateLogic(ctx context.Context, svcCtx *svc.ServiceContext) *UserDeviceCollectMultiCreateLogic
func (*UserDeviceCollectMultiCreateLogic) UserDeviceCollectMultiCreate ¶
func (l *UserDeviceCollectMultiCreateLogic) UserDeviceCollectMultiCreate(in *dm.UserDeviceCollectSave) (*dm.Empty, error)
用户收藏的设备
type UserDeviceCollectMultiDeleteLogic ¶
type UserDeviceCollectMultiDeleteLogic struct { logx.Logger // contains filtered or unexported fields }
func NewUserDeviceCollectMultiDeleteLogic ¶
func NewUserDeviceCollectMultiDeleteLogic(ctx context.Context, svcCtx *svc.ServiceContext) *UserDeviceCollectMultiDeleteLogic
func (*UserDeviceCollectMultiDeleteLogic) UserDeviceCollectMultiDelete ¶
func (l *UserDeviceCollectMultiDeleteLogic) UserDeviceCollectMultiDelete(in *dm.UserDeviceCollectSave) (*dm.Empty, error)
type UserDeviceShareCreateLogic ¶
type UserDeviceShareCreateLogic struct { // contains filtered or unexported fields }
func NewUserDeviceShareCreateLogic ¶
func NewUserDeviceShareCreateLogic(ctx context.Context, svcCtx *svc.ServiceContext) *UserDeviceShareCreateLogic
func (*UserDeviceShareCreateLogic) UserDeviceShareCreate ¶
func (l *UserDeviceShareCreateLogic) UserDeviceShareCreate(in *dm.UserDeviceShareInfo) (*dm.WithID, error)
分享设备
type UserDeviceShareDeleteLogic ¶
type UserDeviceShareDeleteLogic struct { // contains filtered or unexported fields }
func NewUserDeviceShareDeleteLogic ¶
func NewUserDeviceShareDeleteLogic(ctx context.Context, svcCtx *svc.ServiceContext) *UserDeviceShareDeleteLogic
func (*UserDeviceShareDeleteLogic) UserDeviceShareDelete ¶
func (l *UserDeviceShareDeleteLogic) UserDeviceShareDelete(in *dm.UserDeviceShareReadReq) (*dm.Empty, error)
取消分享设备
type UserDeviceShareIndexLogic ¶
type UserDeviceShareIndexLogic struct { // contains filtered or unexported fields }
func NewUserDeviceShareIndexLogic ¶
func NewUserDeviceShareIndexLogic(ctx context.Context, svcCtx *svc.ServiceContext) *UserDeviceShareIndexLogic
func (*UserDeviceShareIndexLogic) UserDeviceShareIndex ¶
func (l *UserDeviceShareIndexLogic) UserDeviceShareIndex(in *dm.UserDeviceShareIndexReq) (*dm.UserDeviceShareIndexResp, error)
获取设备分享列表(只有)
type UserDeviceShareMultiCreateLogic ¶ added in v1.0.2
type UserDeviceShareMultiCreateLogic struct { // contains filtered or unexported fields }
func NewUserDeviceShareMultiCreateLogic ¶ added in v1.0.2
func NewUserDeviceShareMultiCreateLogic(ctx context.Context, svcCtx *svc.ServiceContext) *UserDeviceShareMultiCreateLogic
func (*UserDeviceShareMultiCreateLogic) UserDeviceShareMultiCreate ¶ added in v1.0.2
func (l *UserDeviceShareMultiCreateLogic) UserDeviceShareMultiCreate(in *dm.UserDeviceShareMultiInfo) (*dm.UserDeviceShareMultiToken, error)
rpc userDeviceOtaGetVersion(UserDeviceOtaGetVersionReq)returns(userDeviceOtaGetVersionResp);
type UserDeviceShareMultiDeleteLogic ¶
type UserDeviceShareMultiDeleteLogic struct { // contains filtered or unexported fields }
func NewUserDeviceShareMultiDeleteLogic ¶
func NewUserDeviceShareMultiDeleteLogic(ctx context.Context, svcCtx *svc.ServiceContext) *UserDeviceShareMultiDeleteLogic
func (*UserDeviceShareMultiDeleteLogic) UserDeviceShareMultiDelete ¶
func (l *UserDeviceShareMultiDeleteLogic) UserDeviceShareMultiDelete(in *dm.UserDeviceShareMultiDeleteReq) (*dm.Empty, error)
取消分享设备
type UserDeviceShareReadLogic ¶
type UserDeviceShareReadLogic struct { // contains filtered or unexported fields }
func NewUserDeviceShareReadLogic ¶
func NewUserDeviceShareReadLogic(ctx context.Context, svcCtx *svc.ServiceContext) *UserDeviceShareReadLogic
func (*UserDeviceShareReadLogic) UserDeviceShareRead ¶
func (l *UserDeviceShareReadLogic) UserDeviceShareRead(in *dm.UserDeviceShareReadReq) (*dm.UserDeviceShareInfo, error)
获取设备分享的详情
type UserDeviceShareUpdateLogic ¶
type UserDeviceShareUpdateLogic struct { // contains filtered or unexported fields }
func NewUserDeviceShareUpdateLogic ¶
func NewUserDeviceShareUpdateLogic(ctx context.Context, svcCtx *svc.ServiceContext) *UserDeviceShareUpdateLogic
func (*UserDeviceShareUpdateLogic) UserDeviceShareUpdate ¶
func (l *UserDeviceShareUpdateLogic) UserDeviceShareUpdate(in *dm.UserDeviceShareInfo) (*dm.Empty, error)
更新权限
type UserDeviceTransferLogic ¶
func NewUserDeviceTransferLogic ¶
func NewUserDeviceTransferLogic(ctx context.Context, svcCtx *svc.ServiceContext) *UserDeviceTransferLogic
func (*UserDeviceTransferLogic) UserDeviceTransfer ¶
func (l *UserDeviceTransferLogic) UserDeviceTransfer(in *dm.DeviceTransferReq) (*dm.Empty, error)
Source Files ¶
- assemble.go
- userDeivceShareMultiAcceptLogic.go
- userDeivceShareMultiIndexLogic.go
- userDeviceCollectIndexLogic.go
- userDeviceCollectMultiCreateLogic.go
- userDeviceCollectMultiDeleteLogic.go
- userDeviceShareCreateLogic.go
- userDeviceShareDeleteLogic.go
- userDeviceShareIndexLogic.go
- userDeviceShareMultiCreateLogic.go
- userDeviceShareMultiDeleteLogic.go
- userDeviceShareReadLogic.go
- userDeviceShareUpdateLogic.go
- userDeviceTransferLogic.go
Click to show internal directories.
Click to hide internal directories.