diff options
Diffstat (limited to 'crates/turtle/src/atuin_daemon/control/service.rs')
| -rw-r--r-- | crates/turtle/src/atuin_daemon/control/service.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/crates/turtle/src/atuin_daemon/control/service.rs b/crates/turtle/src/atuin_daemon/control/service.rs index cb2ff74e..8061a3c2 100644 --- a/crates/turtle/src/atuin_daemon/control/service.rs +++ b/crates/turtle/src/atuin_daemon/control/service.rs @@ -18,18 +18,18 @@ use crate::atuin_daemon::{daemon::DaemonHandle, events::DaemonEvent}; /// /// 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 struct ControlService { +pub(crate) struct ControlService { handle: DaemonHandle, } impl ControlService { /// Create a new control service with the given daemon handle. - pub fn new(handle: DaemonHandle) -> Self { + pub(crate) fn new(handle: DaemonHandle) -> Self { Self { handle } } /// Get a tonic server for this service. - pub fn into_server(self) -> ControlServer<Self> { + pub(crate) fn into_server(self) -> ControlServer<Self> { ControlServer::new(self) } } |
