Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var AllSupportedRegions = []string{regions.Beijing, regions.Chengdu, regions.Chongqing, regions.Guangzhou, regions.GuangzhouOpen, regions.HongKong, regions.Mumbai, regions.Seoul, regions.Shanghai, regions.ShanghaiFSI, regions.ShenzhenFSI, regions.Singapore, regions.Frankfurt, regions.Moscow, regions.Ashburn, regions.SiliconValley, regions.Toronto}
View Source
var MysqlSupportedRegions = AllSupportedRegions
Functions ¶
This section is empty.
Types ¶
type TencentCloudClient ¶
type TencentCloudClient struct {
Region string
SecretId string
SecretKey string
// contains filtered or unexported fields
}
client for all TencentCloud service
func NewTencentCloudClient ¶
func NewTencentCloudClient(secretId, secretKey, region string) *TencentCloudClient
func (*TencentCloudClient) UseMysqlClient ¶
func (me *TencentCloudClient) UseMysqlClient() *cdb.Client
get mysql(cdb) client for service
Click to show internal directories.
Click to hide internal directories.