1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
//! Tsunagu (繋ぐ) — service/daemon IPC framework.
//!
//! Provides reusable patterns for daemon lifecycle management:
//! - [`SocketPath`]: XDG-compliant Unix socket and PID file path resolution
//! - [`DaemonProcess`]: PID file management, staleness detection, and cleanup
//! - [`HealthCheck`]: standardized health/liveness/readiness responses
//!
//! # Quick Start
//!
//! ```
//! use tsunagu::{DaemonProcess, HealthCheck, SocketPath};
//!
//! // Resolve paths for your app
//! let sock = SocketPath::for_app("myapp");
//! let pid = SocketPath::pid_file("myapp");
//! assert!(sock.to_string_lossy().contains("myapp"));
//!
//! // Health check response
//! let hc = HealthCheck::healthy("myapp", "0.1.0");
//! assert!(hc.is_healthy());
//! ```
pub use ;
pub use TsunaguError;
pub use ;
pub use ;
pub use SocketPath;