servers

package
v2.17.0 Latest Latest
Warning

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

Go to latest
Published: Nov 26, 2025 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AllBuckets

func AllBuckets(info ListApiInfo, handler BucketHandler)

AllBuckets List 所有 bucket

func BucketInfoDetailDescriptionStringFormat added in v2.9.1

func BucketInfoDetailDescriptionStringFormat() string

Types

type BucketHandler added in v2.17.0

type BucketHandler func(bucket *BucketInfo, err *data.CodeError)

type BucketInfo

type BucketInfo struct {
	Name        *data.String `json:"name"`
	Tbl         *data.String `json:"tbl"`
	FileNum     *data.Int64  `json:"file_num"`
	StorageSize *data.Int64  `json:"storage_size"`
	Region      *data.String `json:"region"`
}

func (*BucketInfo) BucketName added in v2.17.0

func (i *BucketInfo) BucketName() string

func (*BucketInfo) DescriptionString

func (i *BucketInfo) DescriptionString() string

func (*BucketInfo) DetailDescriptionString

func (i *BucketInfo) DetailDescriptionString() string

type BucketQuota

type BucketQuota struct {
}

type BucketsResponse added in v2.17.0

type BucketsResponse struct {
	NextMarker  string       `json:"next_marker"`
	IsTruncated bool         `json:"is_truncated"`
	Buckets     []BucketInfo `json:"buckets"`
}

type ListApiInfo

type ListApiInfo struct {
	Region string
	Marker string
	Limit  int
	Detail bool
}

type UserInfo

type UserInfo struct {
	UserId *data.Int `json:"uid"`
	Perm   *data.Int `json:"perm"`
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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