adapters/

directory
v0.1.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 4, 2026 License: MIT

README

Ridu adapters

Adapters connect Ridu to databases and object storage:

  • postgres implements store.Store and its optional persistence capabilities;
  • sqlite supports content, auth, versions, uploads, locks, preferences, and durable tasks for embedded local and small deployments;
  • mongodb supports the same features on a transaction-capable replica set within its documented production profile;
  • storage/local and storage/s3 implement storage.Backend and optional storage capabilities.

Adapters do not implement ridu.Plugin or appear in Config.Plugins. Open them with ridu.WithStore or ridu.WithUploadStorage. Keep connection strings and credentials in server configuration.

Follow the setup guides for PostgreSQL, SQLite, MongoDB, and object storage. Each database guide covers new and existing projects, verification, and production limits.

Directories

Path Synopsis
Package mongodb provides Ridu's official MongoDB document store.
Package mongodb provides Ridu's official MongoDB document store.
Package postgres provides Ridu's first official document store.
Package postgres provides Ridu's first official document store.
Package sqlite provides Ridu's official embedded SQLite document store.
Package sqlite provides Ridu's official embedded SQLite document store.
storage
local
Package local provides filesystem object storage for development and single-node deployments.
Package local provides filesystem object storage for development and single-node deployments.
s3
Package s3 provides a dependency-free S3-compatible object backend.
Package s3 provides a dependency-free S3-compatible object backend.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL