Swiftpack.co - Adrift001/QiNiuSDK as Swift Package

Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.
See all packages published by Adrift001.
Adrift001/QiNiuSDK 0.0.3
七牛SDK(服务器端)
⭐️ 3
🕓 3 years ago
macOS
.package(url: "https://github.com/Adrift001/QiNiuSDK.git", from: "0.0.3")

QiNiuSDK

Swift

生成七牛上传凭证

安装

dependencies: [
    .package(url: "https://github.com/Adrift001/QiNiuSDK.git", from: "0.0.3")
]
targets: [
    .target(name: "App", dependencies: ["QiNiuSDK"]),
]

使用

let auth = Auth.create(accessKey: "xxx", secretKey: "xxx")
let token = auth.uploadToken(bucket: "xxx")
print(token)

GitHub

link
Stars: 3
Last commit: 3 years ago
Advertisement: IndiePitcher.com - Cold Email Software for Startups

Dependencies

Swiftpack is being maintained by Petr Pavlik | @ptrpavlik | @swiftpackco | API | Analytics