Expand description
server-manager
server-manager is a rust library for managing server processes. It encapsulates service startup, shutdown, and background daemon mode. Users can specify the PID file, log file paths, and other configurations through custom settings, while also passing in their own asynchronous server function for execution. The library supports both synchronous and asynchronous operations. On Unix and Windows platforms, it enables background daemon processes.
Structs§
- Server
Manager - Main structure for managing server processes.
- Server
Manager Config - Configuration parameters for server management.
Type Aliases§
- Server
Manager Error - Error type for server management operations.
- Server
Manager Result - Result type for server management operations.