aboutsummaryrefslogtreecommitdiff
path: root/src/api/api_server.rs
diff options
context:
space:
mode:
authorTrinity Pointard <trinity.pointard@gmail.com>2021-03-26 22:32:09 +0100
committerAlex Auvolat <alex@adnab.me>2021-04-27 16:37:10 +0200
commit1e3df189d0dc37880219338c53607152ae0c87e0 (patch)
treedb1a0ccea1b29c8916ed3246ff71ea66b3323bac /src/api/api_server.rs
parenta2e1617d845e72c44b07f782801549f209ce14cc (diff)
downloadgarage-1e3df189d0dc37880219338c53607152ae0c87e0.tar.gz
garage-1e3df189d0dc37880219338c53607152ae0c87e0.zip
document api crate
Diffstat (limited to 'src/api/api_server.rs')
-rw-r--r--src/api/api_server.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/api/api_server.rs b/src/api/api_server.rs
index 2feb0e3a..dcc9f478 100644
--- a/src/api/api_server.rs
+++ b/src/api/api_server.rs
@@ -20,6 +20,7 @@ use crate::s3_get::*;
use crate::s3_list::*;
use crate::s3_put::*;
+/// Run the S3 API server
pub async fn run_api_server(
garage: Arc<Garage>,
shutdown_signal: impl Future<Output = ()>,