Documentation ¶
Overview ¶
Package awsblob provides the blob operations needed by Logseq Sync, backed by AWS's S3.
Index ¶
- type Client
- func (c *Client) Bucket() string
- func (c *Client) GenerateTempCreds(ctx context.Context, prefix string) (*blob.Credentials, error)
- func (c *Client) Move(ctx context.Context, srcPath, destPath string) (*blob.MoveMeta, error)
- func (c *Client) SignedDownloadURL(ctx context.Context, key string, dur time.Duration) (string, error)
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 (*Client) GenerateTempCreds ¶
func (*Client) Move ¶
S3 doesn't have a 'move' operation, so we just do copy and delete. See https://stackoverflow.com/q/63061426
Click to show internal directories.
Click to hide internal directories.