Tsunagu (繋ぐ)
Service/daemon IPC framework for pleme-io applications. Provides reusable patterns for client-daemon communication so every app with a background service shares the same lifecycle management.
Components
| Module | Purpose |
|---|---|
daemon |
DaemonProcess — PID file management, process lifecycle |
socket |
SocketPath — XDG-compliant Unix socket path resolution |
health |
HealthCheck — standardized liveness/readiness probes |
error |
Unified error type |
Usage
[]
= { = "https://github.com/pleme-io/tsunagu" }
use ;
let daemon = new;
if !daemon.is_running
Build