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
committerTrinity Pointard <trinity.pointard@gmail.com>2021-04-06 05:26:48 +0200
commitee9b685994a95787cd735ee17dc43875f549514f (patch)
tree0aaa74ba86c724fe949c7c5005654619d6f37f81 /src/web/web_server.rs
parent92d54770bbdc2f1a64eb60ab899ca559244c0f48 (diff)
downloadgarage-ee9b685994a95787cd735ee17dc43875f549514f.tar.gz
garage-ee9b685994a95787cd735ee17dc43875f549514f.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 = ()>,