Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add sdk API docs link #21

Open
wants to merge 6 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,4 @@ npm-debug.log
coverage/
.DS_Store
package-lock.json
.idea/
9 changes: 7 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ mss-nodejs-sdk
======


mtyun MSS(Meituan Storage Service) sdk for Node.js
mtyun [MSS(Meituan Storage Service)](https://www.mtyun.com/doc/api/mss/mss/index) sdk for Node.js

## install

Expand All @@ -22,6 +22,9 @@ MSS, Object Storage Service. Equal to well known Amazon [S3](http://aws.amazon.c

Constructs a service object. This object has one method for each API operation.

Refer to [mss API](https://km.sankuai.com/page/58087604)、
[mss-nodejs-sdk / mos-mss API](https://www.mtyun.com/doc/sdk/mss-sdk/node.js/index) for details.

examples:

```js
Expand All @@ -47,6 +50,8 @@ options:

## Method Summary

Refer to [mss API](https://km.sankuai.com/page/58087604)、
[mss-nodejs-sdk / mos-mss API](https://www.mtyun.com/doc/sdk/mss-sdk/node.js/index) for details.

- [Bucket Operations](#bucket-operations)
- [listBucket()](#listbucket)
Expand Down Expand Up @@ -1303,4 +1308,4 @@ Return:

## License

[MIT](LICENSE)
[MIT](LICENSE)
2 changes: 1 addition & 1 deletion src/signers/lib/util.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ let util = {

userAgent: function userAgent() {
let name = util.isBrowser() ? 'js' : 'nodejs';
let agent = 'aws-sdk-' + name + '/' + require('./core').VERSION;
let agent = 'aws-sdk-' + name + '/';// + require('./core').VERSION;
if (name === 'nodejs') { agent += ' ' + util.engine(); }
return agent;
},
Expand Down