|
- package s3
-
- // type S3Client interface {
- // PutObject(ctx context.Context, bucket string, key string, body io.Reader) (PutObjectResp, error)
- // GetObject(ctx context.Context, bucket string, key string, rng exec.Range) (io.ReadCloser, error)
- // HeadObject(ctx context.Context, bucket string, key string) (HeadObjectResp, error)
- // ListObjectsV2(ctx context.Context, bucket string, prefix string
- // }
-
- // type PutObjectResp struct {
- // Hash cdssdk.FileHash // 文件SHA256哈希值
- // Size int64 // 文件大小
- // }
-
- // type HeadObjectResp struct {
- // Size int64 // 文件大小
- // }
|