nav.groups.storage
Backend: MongoDB
MongoDB session store backend.
Backend: MongoDB
MongoDB session store.
Feature mongodb. Provides a SessionStore implementation backed by MongoDB collections.
Collections
sessions— document per session with metadata.messages— embedded array or separate collection withsession_idindex.
Configuration
[store.session.mongodb]
url = "mongodb://localhost:27017"
database = "behest"
When to use
- Existing MongoDB infrastructure.
- Document-oriented session data with flexible schema.
See also
- SessionStore — the trait.