hyperlane-plugin-shutdown 22.0.6

A shutdown plugin for the Hyperlane framework, turning the termination signals of the operating system into a graceful shutdown of the server.
Documentation
1
2
3
4
5
6
7
8
/// The message the default handler writes when the server stops.
pub(crate) const MESSAGE_DEFAULT: &str = "the server was asked to stop";

/// The message written when the server was interrupted.
pub(crate) const MESSAGE_INTERRUPTED: &str = "the server was interrupted";

/// The message written when the server was terminated.
pub(crate) const MESSAGE_TERMINATED: &str = "the server was terminated";