/tencent-cloud-core

Tencent Cloud support for Swift

Primary LanguageSwiftApache License 2.0Apache-2.0

tencent-cloud-core

CI SwiftPM License

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"),

TencentCloudCore

This module holds core structs and enumerations for Tencent Cloud, including:

  • TencentCloud.Region: Tencent Cloud service region
  • TencentCloud.Zone: Tencent Cloud service zone
  • TencentCloud.Credential: Tencent Cloud API credential

You can add it as a target dependency in Package.swift with:

.product(name: "TencentCloudCore", package: "tencent-cloud-core"),

TencentCloudAPICore

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).