Expand description
Server-side components for Triglav.
This module contains:
- Key-based identity management
- Session management
- Daemon mode support
- Signal handling
Structs§
- Authorized
Key - An authorized key (identity).
- Daemon
Config - Daemon configuration.
- KeyStore
- Key store - manages authorized keys.
- PidFile
Guard - PID file guard that removes the file on drop.
- Server
Session - Server session.
- Session
Config - Session configuration.
- Session
Manager - Session manager.
- Shutdown
Signal - A future that completes when shutdown is signaled.
- Signal
Handler - Signal handler that broadcasts signals to subscribers.
- UserKey
- User key (for compatibility).
- User
Registration - Registration request (for compatibility).
Enums§
- Session
Event - Session event.
- Session
State - Session state.
- Signal
- Signal type.
- User
Role - User role - simplified, mostly for display/grouping.
Functions§
- daemonize
- Daemonize the current process.
- remove_
pid_ file - Remove the PID file.
- setup_
signal_ handlers - Setup signal handlers and return a shutdown receiver.
- wait_
for_ shutdown - Convenience function to wait for shutdown signals.
- write_
pid_ file - Write the current PID to a file.
Type Aliases§
- User
Deprecated - User
Manager Deprecated