connectivity

package
v0.0.0-...-055c0a6 Latest Latest
Warning

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

Go to latest
Published: Dec 25, 2022 License: MulanPSL-2.0 Imports: 6 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 (*TencentCloudClient) Account

func (me *TencentCloudClient) Account() (string, error)

获取客户端账号ID

func (*TencentCloudClient) CvmClient

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

UseCvmClient cvm

Jump to

Keyboard shortcuts

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