Expand description
Pluggable session storage backend.
Two built-in backends:
BinaryFileBackend— compact binary file (default).SqliteBackend— SQLite (sqlite-sessionfeature).InMemoryBackend— ephemeral, for tests / fresh-start bots.
Structs§
- Binary
File Backend - Stores the session in a compact binary file (v2 format with update state + peer cache).
- InMemory
Backend - Ephemeral session — nothing persisted to disk.
- Sqlite
Backend - SQLite-backed session store.