s3 support

This commit is contained in:
onysd 2026-08-04 23:09:11 +03:00
parent fa5cfaf14d
commit 03f10b66ee
53 changed files with 2796 additions and 102 deletions

View file

@ -11,4 +11,8 @@ var (
ErrUploadQuotaExceeded = errors.New("upload quota exceeded")
ErrPhotoInvalid = errors.New("photo invalid")
ErrDocumentInvalid = errors.New("document invalid")
// ErrStorageFull is returned when the configured low-space guard rejects a
// write: local disk free bytes (or, on the s3 backend, the configured
// total-bytes budget) has fallen below the configured threshold.
ErrStorageFull = errors.New("storage full")
)