wip: bucket list

This commit is contained in:
zhaoyupeng
2024-10-08 14:29:36 +08:00
parent 3c8c559ac7
commit 9079a82434
10 changed files with 147 additions and 53 deletions

View File

@ -9,8 +9,8 @@ import (
)
type ListBucketRes struct {
CreatedAt int64
Name string
CreatedAt int64 `json:"created_at"`
Name string `json:"name"`
}
func (c *Client) ListBucket(ctx context.Context) ([]*ListBucketRes, error) {