type

Config

type Config struct { Endpoint, Region, Bucket, AccessKey, SecretKey string Client *http.Client // AllowInsecureEndpoint explicitly permits plaintext HTTP for local S3 // emulators such as MinIO. Production credentials must use HTTPS. AllowInsecureEndpoint bool // MaxSpoolBytes bounds temporary disk use when Put receives a reader that // cannot be rewound for signing. Zero selects the Ridu upload limit. MaxSpoolBytes int64 // SpoolDirectory optionally selects the directory for non-seekable Put // payloads. The operating system temporary directory is used by default. SpoolDirectory string }

Endpoint, credentials, HTTP transport, and bounded upload-spooling settings.

Source adapters/storage/s3/s3.go:27

Endpointstring
The Endpoint value.
Regionstring
The Region value.
Bucketstring
The Bucket value.
AccessKeystring
The AccessKey value.
SecretKeystring
The SecretKey value.
Client*http.Client
The Client value.
AllowInsecureEndpointbool
AllowInsecureEndpoint explicitly permits plaintext HTTP for local S3 emulators such as MinIO. Production credentials must use HTTPS.
MaxSpoolBytesint64
MaxSpoolBytes bounds temporary disk use when Put receives a reader that cannot be rewound for signing. Zero selects the Ridu upload limit.
SpoolDirectorystring
SpoolDirectory optionally selects the directory for non-seekable Put payloads. The operating system temporary directory is used by default.

HTTPS is required unless AllowInsecureEndpoint explicitly permits a local emulator such as MinIO. Zero MaxSpoolBytes selects Ridu’s upload limit; non-seekable bodies larger than the limit are rejected before reading.