Documentation ¶
Index ¶
- type Client
- func (client *Client) BasePath() string
- func (client *Client) CopyObject(ctx context.Context, from string, to string) error
- func (client *Client) DeleteObject(ctx context.Context, key string) error
- func (client *Client) DeleteObjectsWithPrefix(ctx context.Context, prefix string) (err error)
- func (client *Client) GetObject(ctx context.Context, key string, options *storage.GetObjectOptions) (io.ReadCloser, error)
- func (client *Client) GetObjectSize(ctx context.Context, key string) (int64, error)
- func (client *Client) PutObject(ctx context.Context, key string, size int64, object io.Reader, ...) error
- type ClientConfig
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(config ClientConfig) (*Client, error)
func (*Client) CopyObject ¶
func (*Client) DeleteObject ¶
func (*Client) DeleteObjectsWithPrefix ¶
func (*Client) GetObject ¶
func (client *Client) GetObject(ctx context.Context, key string, options *storage.GetObjectOptions) (io.ReadCloser, error)
func (*Client) GetObjectSize ¶
Click to show internal directories.
Click to hide internal directories.