share

package
v1.0.3 Latest Latest
Warning

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

Go to latest
Published: Oct 23, 2024 License: AGPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ToMuitlSharePb added in v1.0.2

func ToMultiShareTypes added in v1.0.2

func ToSharesDevices added in v1.0.2

func ToSharesDevices(in []*types.DeviceCore) (ret []*dm.DeviceCore)

func ToSharesTypes

func ToSharesTypes(in []*dm.UserDeviceShareInfo) (ret []*types.UserDeviceShareInfo)

Types

type CreateLogic

type CreateLogic struct {
	logx.Logger
	// contains filtered or unexported fields
}

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

type DeleteLogic struct {
	logx.Logger
	// contains filtered or unexported fields
}

func NewDeleteLogic

func NewDeleteLogic(ctx context.Context, svcCtx *svc.ServiceContext) *DeleteLogic

func (*DeleteLogic) Delete

type IndexLogic

type IndexLogic struct {
	logx.Logger
	// contains filtered or unexported fields
}

func NewIndexLogic

func NewIndexLogic(ctx context.Context, svcCtx *svc.ServiceContext) *IndexLogic

func (*IndexLogic) Index

type MultiAcceptLogic added in v1.0.2

type MultiAcceptLogic struct {
	logx.Logger
	// contains filtered or unexported fields
}

func NewMultiAcceptLogic added in v1.0.2

func NewMultiAcceptLogic(ctx context.Context, svcCtx *svc.ServiceContext) *MultiAcceptLogic

接受批量分享设备

func (*MultiAcceptLogic) MultiAccept added in v1.0.2

type MultiCreateLogic added in v1.0.2

type MultiCreateLogic struct {
	logx.Logger
	// contains filtered or unexported fields
}

func NewMultiCreateLogic added in v1.0.2

func NewMultiCreateLogic(ctx context.Context, svcCtx *svc.ServiceContext) *MultiCreateLogic

生成批量分享设备二维码

func (*MultiCreateLogic) MultiCreate added in v1.0.2

type MultiDeleteLogic

type MultiDeleteLogic struct {
	logx.Logger
	// contains filtered or unexported fields
}

func NewMultiDeleteLogic

func NewMultiDeleteLogic(ctx context.Context, svcCtx *svc.ServiceContext) *MultiDeleteLogic

func (*MultiDeleteLogic) MultiDelete

type MultiIndexLogic added in v1.0.2

type MultiIndexLogic struct {
	logx.Logger
	// contains filtered or unexported fields
}

func NewMultiIndexLogic added in v1.0.2

func NewMultiIndexLogic(ctx context.Context, svcCtx *svc.ServiceContext) *MultiIndexLogic

获取批量分享的设备列表

func (*MultiIndexLogic) MultiIndex added in v1.0.2

type ReadLogic

type ReadLogic struct {
	logx.Logger
	// contains filtered or unexported fields
}

func NewReadLogic

func NewReadLogic(ctx context.Context, svcCtx *svc.ServiceContext) *ReadLogic

func (*ReadLogic) Read

type UpdateLogic

type UpdateLogic struct {
	logx.Logger
	// contains filtered or unexported fields
}

func NewUpdateLogic

func NewUpdateLogic(ctx context.Context, svcCtx *svc.ServiceContext) *UpdateLogic

func (*UpdateLogic) Update

func (l *UpdateLogic) Update(req *types.UserDeviceShareInfo) error

Jump to

Keyboard shortcuts

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