From 67ec09fa8fe5e8ed8026013018ccc48c0f48d446 Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Sat, 21 Aug 2021 21:32:59 +0100 Subject: [PATCH 1/1] wip server slip Signed-off-by: Ian Jackson --- server/server.rs | 1 + server/slocal.rs | 12 ++++++++++++ 2 files changed, 13 insertions(+) create mode 100644 server/slocal.rs diff --git a/server/server.rs b/server/server.rs index bc20c4b..102e5e7 100644 --- a/server/server.rs +++ b/server/server.rs @@ -5,6 +5,7 @@ use hippotat::prelude::*; mod slink; +mod slocal; mod sweb; pub use sweb::{WebRequest, WebResponse}; diff --git a/server/slocal.rs b/server/slocal.rs new file mode 100644 index 0000000..919c338 --- /dev/null +++ b/server/slocal.rs @@ -0,0 +1,12 @@ +// Copyright 2021 Ian Jackson and contributors to Hippotat +// SPDX-License-Identifier: GPL-3.0-or-later +// There is NO WARRANTY. + +use super::*; + +#[allow(dead_code)] // xxx +#[throws(PacketError)] +pub async fn run(_global: &Global, + _rx: mpsc::Receiver) { + +} -- 2.30.2