file

package
v1.5.8 Latest Latest
Warning

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

Go to latest
Published: Nov 3, 2024 License: Apache-2.0 Imports: 26 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ChangePublicStatusLogic

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

func NewChangePublicStatusLogic

func NewChangePublicStatusLogic(ctx context.Context, svcCtx *svc.ServiceContext) *ChangePublicStatusLogic

func (*ChangePublicStatusLogic) ChangePublicStatus

func (l *ChangePublicStatusLogic) ChangePublicStatus(req *types.StatusCodeReq) (resp *types.BaseMsgResp, err error)

type DeleteFileLogic

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

func NewDeleteFileLogic

func NewDeleteFileLogic(ctx context.Context, svcCtx *svc.ServiceContext) *DeleteFileLogic

func (*DeleteFileLogic) DeleteFile

func (l *DeleteFileLogic) DeleteFile(req *types.UUIDsReq) (resp *types.BaseMsgResp, err error)

type DownloadFileLogic

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

func NewDownloadFileLogic

func NewDownloadFileLogic(ctx context.Context, svcCtx *svc.ServiceContext) *DownloadFileLogic

func (*DownloadFileLogic) DownloadFile

func (l *DownloadFileLogic) DownloadFile(req *types.UUIDPathReq) (filePath string, err error)

type FileListLogic

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

func NewFileListLogic

func NewFileListLogic(ctx context.Context, svcCtx *svc.ServiceContext) *FileListLogic

func (*FileListLogic) FileList

func (l *FileListLogic) FileList(req *types.FileListReq) (resp *types.FileListResp, err error)

type UpdateFileLogic

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

func NewUpdateFileLogic

func NewUpdateFileLogic(ctx context.Context, svcCtx *svc.ServiceContext) *UpdateFileLogic

func (*UpdateFileLogic) UpdateFile

func (l *UpdateFileLogic) UpdateFile(req *types.UpdateFileReq) (resp *types.BaseMsgResp, err error)

type UploadLogic

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

func NewUploadLogic

func NewUploadLogic(r *http.Request, svcCtx *svc.ServiceContext) *UploadLogic

func (*UploadLogic) Upload

func (l *UploadLogic) Upload() (resp *types.UploadResp, err error)

Jump to

Keyboard shortcuts

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