shep-daemon 0.1.2

The supervision engine behind shep: process spawning, restart policy, the log plane, watch and cron restarts, and the RPC server
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
//! The shepherd channel's message shapes, re-exported from shep-core.
//!
//! These types moved to [`shep_core::protocol::channel`] when
//! [`BusEvent::Channel`](shep_core::protocol::BusEvent) began carrying a
//! [`ChildMessage`] to bus subscribers: the event is a shep-core type, so the
//! message had to become one. This module stays as the name shep-daemon knows
//! them by inside `crate::channel` — `ChildMessage`/`ShepherdMessage` are
//! written across the runner, the supervisor, the scripted fake and
//! `tests/real_runner.rs`, and a re-export keeps every one of those spellings
//! correct.
//!
//! Nothing is defined here. Add a variant, a field or a fixture in shep-core.

pub use shep_core::protocol::channel::{CHANNEL_VERSION, ChildMessage, ShepherdMessage};