diff options
Diffstat (limited to 'crates/daemon/src/control/mod.rs')
| -rw-r--r-- | crates/daemon/src/control/mod.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/crates/daemon/src/control/mod.rs b/crates/daemon/src/control/mod.rs index 79398d61..fcc2a0b8 100644 --- a/crates/daemon/src/control/mod.rs +++ b/crates/daemon/src/control/mod.rs @@ -23,18 +23,18 @@ use crate::{ /// /// This service is used by external processes to inject events into the daemon. /// It's not a component - it's part of the daemon's core infrastructure. -pub(crate) struct ControlService { +pub struct ControlService { handle: DaemonHandle, } impl ControlService { /// Create a new control service with the given daemon handle. - pub(crate) fn new(handle: DaemonHandle) -> Self { + pub fn new(handle: DaemonHandle) -> Self { Self { handle } } /// Get a tonic server for this service. - pub(crate) fn into_server(self) -> ControlServer<Self> { + pub fn into_server(self) -> ControlServer<Self> { ControlServer::new(self) } } |
