fix content
This commit is contained in:
16
doc.go
16
doc.go
@@ -1,15 +1,3 @@
|
|||||||
// Package cos 腾讯云对象存储服务 COS(Cloud Object Storage) Go SDK, 封装了 V5 版本的 XML API。
|
// Package cos is COS(Cloud Object Storage) Go SDK. The V5 version(XML API).
|
||||||
// 在项目的 example 目录下有各个 API 的使用示例 。
|
// There are examples of using each API in the project's 'example' directory.
|
||||||
//
|
|
||||||
// Authentication
|
|
||||||
//
|
|
||||||
// 默认所有 API 都是匿名访问. 如果想添加认证信息的话,可以通过自定义一个 http.Client 来添加认证信息.
|
|
||||||
// 比如, 使用内置的 AuthorizationTransport 来为请求增加 Authorization Header 签名信息:
|
|
||||||
//
|
|
||||||
// client := cos.NewClient(b, &http.Client{
|
|
||||||
// Transport: &cos.AuthorizationTransport{
|
|
||||||
// SecretID: "COS_SECRETID",
|
|
||||||
// SecretKey: "COS_SECRETKEY",
|
|
||||||
// },
|
|
||||||
// })
|
|
||||||
package cos
|
package cos
|
||||||
|
|||||||
Reference in New Issue
Block a user