Module
storage
github.com/riducms/ridu/storage — Object-storage contracts used by upload collections. Implement this package only when the official local and S3 backends do not fit.
Adapter contracts 5
interface storage.BackendStore, open, list, and delete upload objects.
constant storage.MaxListPageSizeThe maximum number of objects one List response may contain.
type storage.ListRequestA bounded object-listing request.
type storage.ListPageOne stable page of object metadata.
type storage.ObjectObject identity and authoritative content metadata.
Optional capabilities 2
interface storage.HealthBackendOptional production readiness check for the storage dependency.
interface storage.URLSignerCreate explicit, time-limited direct-download URLs.
Errors 1
variable storage.ErrNotFoundThe sentinel returned when an object does not exist.