Crate server_manager

Source
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§

ServerManager
Main structure for managing server processes.

Type Aliases§

ServerManagerError
Error type for server management operations.
ServerManagerHook
Type alias for the hook functions.
ServerManagerResult
Result type for server management operations.