Documentation
¶
Index ¶
- Variables
- type Client
- func (c *Client) Delete(ctx context.Context, logicalKey string) error
- func (c *Client) Head(ctx context.Context, logicalKey string) (*HeadResult, error)
- func (c *Client) PresignGet(ctx context.Context, logicalKey string, ttl time.Duration) (string, error)
- func (c *Client) PresignPut(ctx context.Context, logicalKey, contentType string, contentLength int64, ...) (string, error)
- func (c *Client) RangeGet(ctx context.Context, logicalKey string, maxBytes int64) ([]byte, error)
- type HeadResult
- type Options
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrNotFound = errors.New("object not found")
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func (*Client) PresignGet ¶
func (*Client) PresignPut ¶
type HeadResult ¶
Click to show internal directories.
Click to hide internal directories.