s3 minio, cos, oss support

This commit is contained in:
withchao
2023-07-10 16:24:59 +08:00
parent fea3c5358a
commit 29dade90ec
11 changed files with 485 additions and 243 deletions
+4
View File
@@ -46,6 +46,10 @@ func (c *Controller) PartSize(ctx context.Context, size int64) (int64, error) {
return c.impl.PartSize(ctx, size)
}
func (c *Controller) PartLimit() *s3.PartLimit {
return c.impl.PartLimit()
}
func (c *Controller) GetHashObject(ctx context.Context, hash string) (*s3.ObjectInfo, error) {
return c.impl.StatObject(ctx, c.HashPath(hash))
}