add comment

This commit is contained in:
2019-12-27 01:01:40 +08:00
parent 80820651ed
commit 51be27f775

View File

@@ -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,