Expand description
User session registry for tracking active VPN connections.
Provides a centralized, thread-safe registry that maps usernames to their active connection sessions and shared rate limiters. The registry is only accessed on connect/disconnect – it is NOT in the packet forwarding hot path.
Structs§
- Connection
Session - Metadata for a single active QUIC connection.
- User
Session - Per-user state, potentially spanning multiple concurrent connections.
- User
Session Registry - Thread-safe registry of active user sessions.
Type Aliases§
- Bandwidth
Limiter - Type alias for the governor rate limiter used for bandwidth limiting.