wanjies3

package
v0.0.10 Latest Latest
Warning

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

Go to latest
Published: Jul 29, 2024 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	// contains filtered or unexported fields
}

func NewClient

func NewClient(endpoint, region, accessKey, accessKeySecret string) (*Client, error)

func (*Client) Download

func (cli *Client) Download(_ context.Context, bucketName, objectKey, localDir, prefix string) error

func (*Client) DownloadDirectory

func (cli *Client) DownloadDirectory(ctx context.Context, bucket, prefix, localDir string) error

func (*Client) ListAndDownloadDir

func (cli *Client) ListAndDownloadDir(ctx context.Context, bucketName, prefix, localBasePath string) error

Jump to

Keyboard shortcuts

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