connectivity

package
v0.0.4 Latest Latest
Warning

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

Go to latest
Published: Aug 10, 2023 License: MulanPSL-2.0 Imports: 7 Imported by: 0

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
}

func C

func C() *TencentCloudClient

func NewTencentCloudClient

func NewTencentCloudClient(secretID, secretKey, region string) *TencentCloudClient

func (*TencentCloudClient) AccountID

func (me *TencentCloudClient) AccountID() string

func (*TencentCloudClient) Check

func (me *TencentCloudClient) Check() error

默认接口请求频率限制:20次/秒。

func (*TencentCloudClient) CvmClient

func (me *TencentCloudClient) CvmClient() (*cvm.Client, error)

Jump to

Keyboard shortcuts

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