chiark / gitweb /
reorg source
[hippotat.git] / server / server.rs
index 022d00bafc6c214b9c670aef5b91bb9375136e04..c15db88a81e5dd9b7b22444c79284ad7da9f5976 100644 (file)
@@ -4,11 +4,12 @@
 
 use hippotat::prelude::*;
 
-mod sclient;
+mod suser;
+mod slocal;
 mod sweb;
 
 pub use sweb::{WebRequest, WebResponse};
-pub use sclient::Client;
+pub use suser::Client;
 
 #[derive(StructOpt,Debug)]
 pub struct Opts {
@@ -116,7 +117,7 @@ async fn main() {
       let global_ = global.clone();
       let ic_ = ic.clone();
       tasks.push((tokio::spawn(async move {
-        sclient::run(global_, ic_, web_recv, route_recv)
+        suser::run(global_, ic_, web_recv, route_recv)
           .await.void_unwrap_err()
       }), format!("client {}", &ic)));
     }