Expand description
Username service – Postgres CRUD with optional Redis cache/publish.
Each wallet can set exactly one display name. Usernames are unique
case-insensitively (stored as-is, compared via LOWER()).
Structs§
Enums§
- Username
Service Error - Errors from username write operations that callers can pattern-match on.
Constants§
- MAX_LEN 🔒
- Maximum username length.
- MIN_LEN 🔒
- Minimum username length.
- RESERVED_
USERNAMES 🔒
Functions§
- redis_
reverse_ 🔒key - redis_
wallet_ 🔒key - validate_
username - Validate a username against the platform rules.