This commit is contained in:
Zhang Huangbin
2023-09-07 10:17:38 +08:00
parent 4dfe51aa01
commit bf6aa0132c
2 changed files with 14 additions and 2 deletions

View File

@@ -24,6 +24,7 @@ func (s *Storage) CreateBucket(bucket string) error {
return err
}
// DeleteBucket deletes a bucket.
func (s *Storage) DeleteBucket(bucket string) error {
ctx, cancel := s.requestContext()
defer cancel()