# README
github.com/qiniu/go-sdk
下载
使用 Go mod【推荐】
在您的项目中的 go.mod
文件内添加这行代码
require github.com/qiniu/go-sdk/v7 v7.25.0
并且在项目中使用 "github.com/qiniu/go-sdk/v7"
引用 Qiniu Go SDK。
例如
import (
"github.com/qiniu/go-sdk/v7/auth"
"github.com/qiniu/go-sdk/v7/storage"
)
Golang 版本需求
需要 go1.10 或者 1.10 以上
文档
示例
# Packages
audit 包提供了账号审计等功能。.
No description provided by the author
cdn 包提供了 Fusion CDN的常见功能。相关功能的文档参考:https://developer.qiniu.com/fusion。 目前提供了文件和目录刷新,文件预取,获取域名带宽和流量数据,获取域名日志列表等功能。.
No description provided by the author
conf 包提供了设置APP名称的方法。该APP名称会被放入API请求的UserAgent中,方便后续查询日志分析问题。.
No description provided by the author
iam 包提供了 IAM 子账号管理等功能。.
No description provided by the author
media 包提供了数据处理等功能。.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Package sms 七牛云短信服务 SDK 官网地址: http://www.qiniu.com/products/sms 开发者文档: https://developer.qiniu.com/sms.
package storage 提供了用户存储配置(uc)方面的功能, 定义了UC API 的返回结构体类型.
storagev2 包提供了资源管理等功能。.
# Functions
BytesFromRequest 读取 http.Request.Body 的内容到 slice 中.
NewError 返回QError指针.
SeekerLen 通过 io.Seeker 获取数据大小.