Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ChangePublicStatusLogic ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
func NewUploadLogic ¶
func NewUploadLogic(r *http.Request, svcCtx *svc.ServiceContext) *UploadLogic
func (*UploadLogic) Upload ¶
func (l *UploadLogic) Upload() (resp *types.UploadResp, err error)
Click to show internal directories.
Click to hide internal directories.