Feat: add List method to Handler interface / implement local.List

This commit is contained in:
HFO4
2020-04-24 11:08:07 +08:00
parent 6006ff4d22
commit f7311f906b
11 changed files with 97 additions and 2 deletions

View File

@@ -46,6 +46,10 @@ type Driver struct {
HTTPClient request.Client
}
func (handler Driver) List(ctx context.Context, path string) ([]response.Object, error) {
panic("implement me")
}
// CORS 创建跨域策略
func (handler Driver) CORS() error {
_, err := handler.Client.Bucket.PutCORS(context.Background(), &cossdk.BucketPutCORSOptions{