handler

package
v0.0.0-...-23f538b Latest Latest
Warning

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

Go to latest
Published: Mar 30, 2022 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FileServiceHandler

type FileServiceHandler struct {
}

func (*FileServiceHandler) Cancel

func (f *FileServiceHandler) Cancel(ctx context.Context, in *basic.String, out *basic.String) error

Cancel: 取消上传文件/删除文件接口

func (*FileServiceHandler) Check

func (f *FileServiceHandler) Check(ctx context.Context, in *basic.String, out *dto.FileDto) error

Check: 检查文件是否已上传

func (*FileServiceHandler) Merge

func (f *FileServiceHandler) Merge(ctx context.Context, in *dto.FileDto, out *dto.FileDto) error

Merge: 合并文件

func (*FileServiceHandler) Upload

func (f *FileServiceHandler) Upload(ctx context.Context, in *dto.FileDto, out *dto.FileDto) error

Upload: 上传文件接口

func (*FileServiceHandler) UploadShard

func (f *FileServiceHandler) UploadShard(ctx context.Context, in *dto.FileShardDto, out *basic.Boolean) error

UploadShard: 上传文件分片

func (*FileServiceHandler) VerifyUpload

func (f *FileServiceHandler) VerifyUpload(ctx context.Context, in *basic.String, out *dto.VerifyRes) error

VerifyUpload: 检查文件是否已上传 以及已上传的分片索引列表

Jump to

Keyboard shortcuts

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