add from_file, from_json

This commit is contained in:
2020-01-05 12:57:36 +08:00
parent 626f87f262
commit b58af4400d
3 changed files with 66 additions and 6 deletions

View File

@@ -1,3 +1,9 @@
# simple-oss
Simple Alibaba Cloud OSS Client in Rust
Simple Alibaba Cloud OSS Client in Rust
```rust
let oss_client = OSSClient::new("<endpoint>", "<access_key_id>", "<access_key_secret>");
oss_cleint.put_file_content("<bucket>", "helloworld.txt", "hello world!")?;
```