This is a package for quickly adding Tencent Cloud support for Swift projects.
You can add it as a package dependency in Package.swift
with:
.package(url: "https://github.com/stevapple/tencent-cloud-core", from: "0.2.0"),
This module holds core structs and enumerations for Tencent Cloud, including:
TencentCloud.Region
: Tencent Cloud service regionTencentCloud.Zone
: Tencent Cloud service zoneTencentCloud.Credential
: Tencent Cloud API credential
You can add it as a target dependency in Package.swift
with:
.product(name: "TencentCloudCore", package: "tencent-cloud-core"),
This module provides a simple model to define and invoke a Tencent Cloud API.
You can add it as a target dependency in Package.swift
with:
.product(name: "TencentCloudAPICore", package: "tencent-cloud-core"),
This is available from v0.1.0
with a former name TencentCloudAPI
.
For usage instruction, see How to build a Tencent Cloud API with Swift (base on v0.2.6
).