connectivity

package
v1.10.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 27, 2019 License: MPL-2.0 Imports: 13 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

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) UseAsClient added in v1.8.0

func (me *TencentCloudClient) UseAsClient() *as.Client

func (*TencentCloudClient) UseCbsClient added in v1.10.0

func (me *TencentCloudClient) UseCbsClient() *cbs.Client

func (*TencentCloudClient) UseCosClient added in v1.6.0

func (me *TencentCloudClient) UseCosClient() *s3.S3

get cos client for service

func (*TencentCloudClient) UseMysqlClient

func (me *TencentCloudClient) UseMysqlClient() *cdb.Client

get mysql(cdb) client for service

func (*TencentCloudClient) UseRedisClient added in v1.7.0

func (me *TencentCloudClient) UseRedisClient() *redis.Client

get redis client for service

func (*TencentCloudClient) UseVpcClient added in v1.10.0

func (me *TencentCloudClient) UseVpcClient() *vpc.Client

get vpc client for service

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL