chiark / gitweb /
wip server slip
[hippotat.git] / server / server.rs
index 022d00bafc6c214b9c670aef5b91bb9375136e04..102e5e761504a37d9b6a44d636135f9ea69e2d70 100644 (file)
@@ -4,11 +4,12 @@
 
 use hippotat::prelude::*;
 
-mod sclient;
+mod slink;
+mod slocal;
 mod sweb;
 
 pub use sweb::{WebRequest, WebResponse};
-pub use sclient::Client;
+pub use slink::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)
+        slink::run(global_, ic_, web_recv, route_recv)
           .await.void_unwrap_err()
       }), format!("client {}", &ic)));
     }