aboutsummaryrefslogtreecommitdiff
path: root/src/web/web_server.rs
diff options
context:
space:
mode:
authorTrinity Pointard <trinity.pointard@gmail.com>2021-03-26 22:05:16 +0100
committerAlex Auvolat <alex@adnab.me>2021-04-27 16:37:10 +0200
commita2e1617d845e72c44b07f782801549f209ce14cc (patch)
tree0aaa74ba86c724fe949c7c5005654619d6f37f81 /src/web/web_server.rs
parent67585a4ffab14ba7c4b7c6dca530c177059a91d9 (diff)
downloadgarage-a2e1617d845e72c44b07f782801549f209ce14cc.tar.gz
garage-a2e1617d845e72c44b07f782801549f209ce14cc.zip
document web crate
Diffstat (limited to 'src/web/web_server.rs')
-rw-r--r--src/web/web_server.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/web/web_server.rs b/src/web/web_server.rs
index cfde2bcc..9635eca6 100644
--- a/src/web/web_server.rs
+++ b/src/web/web_server.rs
@@ -18,6 +18,7 @@ use garage_model::garage::Garage;
use garage_table::*;
use garage_util::error::Error as GarageError;
+/// Run a web server
pub async fn run_web_server(
garage: Arc<Garage>,
shutdown_signal: impl Future<Output = ()>,