Documentation ¶
Index ¶
- type FileServiceHandler
- func (f *FileServiceHandler) Cancel(ctx context.Context, in *basic.String, out *basic.String) error
- func (f *FileServiceHandler) Check(ctx context.Context, in *basic.String, out *dto.FileDto) error
- func (f *FileServiceHandler) Merge(ctx context.Context, in *dto.FileDto, out *dto.FileDto) error
- func (f *FileServiceHandler) Upload(ctx context.Context, in *dto.FileDto, out *dto.FileDto) error
- func (f *FileServiceHandler) UploadShard(ctx context.Context, in *dto.FileShardDto, out *basic.Boolean) error
- func (f *FileServiceHandler) VerifyUpload(ctx context.Context, in *basic.String, out *dto.VerifyRes) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FileServiceHandler ¶
type FileServiceHandler struct { }
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: 检查文件是否已上传 以及已上传的分片索引列表
Click to show internal directories.
Click to hide internal directories.