package
Version:
v0.0.0-...-1c7d376
Opens a new window with list of versions in this module.
Published: Dec 19, 2023
License: AGPL-3.0
Opens a new window with license information.
Imports: 18
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
func R2Client(accountId, accessKeyId, accessKeySecret string) *s3.Client
SignImageURL signs an image URL with the given key and salt for imgproxy
UploadFile uploads a file to the R2 bucket and returns the file URL
type IMGConfig struct {
Width int
Height int
Quality int
}
IMGConfig is a configuration for the imgproxy URL and image settings
Source Files
¶
Click to show internal directories.
Click to hide internal directories.