aboutsummaryrefslogtreecommitdiffstats
path: root/crates/atuin-daemon/src/control/mod.rs
diff options
context:
space:
mode:
Diffstat (limited to 'crates/atuin-daemon/src/control/mod.rs')
-rw-r--r--crates/atuin-daemon/src/control/mod.rs12
1 files changed, 12 insertions, 0 deletions
diff --git a/crates/atuin-daemon/src/control/mod.rs b/crates/atuin-daemon/src/control/mod.rs
new file mode 100644
index 00000000..afb29c57
--- /dev/null
+++ b/crates/atuin-daemon/src/control/mod.rs
@@ -0,0 +1,12 @@
+//! Control module for external event injection.
+//!
+//! This module provides the gRPC service that allows external processes
+//! (like CLI commands) to inject events into the daemon's event bus.
+
+mod service;
+
+// Include the generated proto code
+tonic::include_proto!("control");
+
+// Re-export the service
+pub use service::ControlService;