diff options
Diffstat (limited to 'apps/servers/octopus/src/state/mod.rs')
-rw-r--r-- | apps/servers/octopus/src/state/mod.rs | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/apps/servers/octopus/src/state/mod.rs b/apps/servers/octopus/src/state/mod.rs new file mode 100644 index 000000000000..5e7f9276bd97 --- /dev/null +++ b/apps/servers/octopus/src/state/mod.rs @@ -0,0 +1,14 @@ +//! Core octopus state handling + +use std::sync::Arc; + +pub(crate) type StateRef = Arc<OctoState>; + +/// Holds all state handles for the application +pub(crate) struct OctoState {} + +impl OctoState { + pub(crate) fn new() -> StateRef { + Arc::new(Self {}) + } +} |