Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LoadClientFromEnv ¶
func LoadClientFromEnv() error
Types ¶
type TencentCloudClient ¶
type TencentCloudClient struct { Region string `env:"TX_CLOUD_REGION"` SecretID string `env:"TX_CLOUD_SECRET_ID"` SecretKey string `env:"TX_CLOUD_SECRET_KEY"` // contains filtered or unexported fields }
TencentCloudClient client for all TencentCloud service
func C ¶
func C() *TencentCloudClient
func NewTencentCloudClient ¶
func NewTencentCloudClient(secretID, secretKey, region string) *TencentCloudClient
NewTencentCloudClient client
func (*TencentCloudClient) AccountID ¶
func (me *TencentCloudClient) AccountID() string
func (*TencentCloudClient) CvmClient ¶
func (me *TencentCloudClient) CvmClient() *cvm.Client
UseCvmClient cvm
Click to show internal directories.
Click to hide internal directories.