tencent

package
v0.7.2 Latest Latest
Warning

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

Go to latest
Published: Apr 7, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Request

func Request(rq *ReqeustParam) (any, error)

Types

type ReqeustParam

type ReqeustParam struct {
	Service   string `note:"产品名称"`
	Version   string `note:"接口版本"`
	Action    string `note:"接口名称"`
	Payload   any    `note:"结构化数据"`
	Region    string `note:"资源所在区域"`
	Endpoint  string `note:"指定接口域名"`
	SecretId  string `note:"访问密钥 Id"`
	SecretKey string `note:"访问密钥 Key"`
	Debug     bool   `note:"是否开启调试"`
}

type ResponseData

type ResponseData struct {
	Response any
}

Jump to

Keyboard shortcuts

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