Documentation ¶
Index ¶
- func ToSharePb(in *types.UserDeviceShareInfo) *dm.UserDeviceShareInfo
- func ToShareTypes(in *dm.UserDeviceShareInfo) *types.UserDeviceShareInfo
- func ToSharesTypes(in []*dm.UserDeviceShareInfo) (ret []*types.UserDeviceShareInfo)
- type CreateLogic
- type DeleteLogic
- type IndexLogic
- type MultiDeleteLogic
- type ReadLogic
- type UpdateLogic
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ToSharePb ¶
func ToSharePb(in *types.UserDeviceShareInfo) *dm.UserDeviceShareInfo
func ToShareTypes ¶
func ToShareTypes(in *dm.UserDeviceShareInfo) *types.UserDeviceShareInfo
func ToSharesTypes ¶
func ToSharesTypes(in []*dm.UserDeviceShareInfo) (ret []*types.UserDeviceShareInfo)
Types ¶
type CreateLogic ¶
func NewCreateLogic ¶
func NewCreateLogic(ctx context.Context, svcCtx *svc.ServiceContext) *CreateLogic
func (*CreateLogic) Create ¶
func (l *CreateLogic) Create(req *types.UserDeviceShareInfo) (*types.WithID, error)
type DeleteLogic ¶
func NewDeleteLogic ¶
func NewDeleteLogic(ctx context.Context, svcCtx *svc.ServiceContext) *DeleteLogic
func (*DeleteLogic) Delete ¶
func (l *DeleteLogic) Delete(req *types.UserDeviceShareReadReq) error
type IndexLogic ¶
func NewIndexLogic ¶
func NewIndexLogic(ctx context.Context, svcCtx *svc.ServiceContext) *IndexLogic
func (*IndexLogic) Index ¶
func (l *IndexLogic) Index(req *types.UserDeviceShareIndexReq) (resp *types.UserDeviceShareIndexResp, err error)
type MultiDeleteLogic ¶
func NewMultiDeleteLogic ¶
func NewMultiDeleteLogic(ctx context.Context, svcCtx *svc.ServiceContext) *MultiDeleteLogic
func (*MultiDeleteLogic) MultiDelete ¶
func (l *MultiDeleteLogic) MultiDelete(req *types.UserDeviceShareMultiDeleteReq) error
type ReadLogic ¶
func NewReadLogic ¶
func NewReadLogic(ctx context.Context, svcCtx *svc.ServiceContext) *ReadLogic
func (*ReadLogic) Read ¶
func (l *ReadLogic) Read(req *types.UserDeviceShareReadReq) (resp *types.UserDeviceShareInfo, err error)
type UpdateLogic ¶
func NewUpdateLogic ¶
func NewUpdateLogic(ctx context.Context, svcCtx *svc.ServiceContext) *UpdateLogic
func (*UpdateLogic) Update ¶
func (l *UpdateLogic) Update(req *types.UserDeviceShareInfo) error
Click to show internal directories.
Click to hide internal directories.