get_buckets

package
v7.25.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 17, 2025 License: MIT Imports: 2 Imported by: 0

Documentation

Overview

获取拥有的所有存储空间列表

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BucketNames

type BucketNames []string

存储空间列表

type Request

type Request struct {
	Shared      string                          // 包含共享存储空间,如果为 "rd" 则包含具有读权限空间,如果为 "rw" 则包含读写权限空间
	Credentials credentials.CredentialsProvider // 鉴权参数,用于生成鉴权凭证,如果为空,则使用 HTTPClientOptions 中的 CredentialsProvider
}

调用 API 所用的请求

type Response

type Response struct {
	BucketNames BucketNames // 存储空间列表
}

获取 API 所用的响应

func (*Response) MarshalJSON

func (j *Response) MarshalJSON() ([]byte, error)

func (*Response) UnmarshalJSON

func (j *Response) UnmarshalJSON(data []byte) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL