add from_file, from_json
This commit is contained in:
@@ -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!")?;
|
||||
```
|
||||
Reference in New Issue
Block a user