From 51be27f775b2950270aeccdfe52d229750ba3df0 Mon Sep 17 00:00:00 2001 From: Hatter Jiang Date: Fri, 27 Dec 2019 01:01:40 +0800 Subject: [PATCH] add comment --- src/lib.rs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/lib.rs b/src/lib.rs index 43a8a27..6c9290e 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -29,6 +29,11 @@ pub struct OSSClient<'a> { } impl<'a> OSSClient<'a> { + + /// New OSSClient + /// + /// Use access_key_id and access_key_secret to create a OSSClient + /// Consider support STS! pub fn new(endpoint: &'a str, access_key_id: &'a str, access_key_secret: &'a str) -> OSSClient<'a> { OSSClient { endpoint: endpoint,