Documentation
¶
Index ¶
Constants ¶
View Source
const LinkLifetime = 24 * time.Hour
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
func (*Client) PreSignLink ¶ added in v0.19.1
PreSignLink generates a pre-signed URL for the given sourceLink. If the link does not belong to the configured storage endpoint, it is returned as-is. If the link belongs to the storage, the function generates a pre-signed URL using the AWS S3 client.
Click to show internal directories.
Click to hide internal directories.