Documentation ¶
Index ¶
- Constants
- Variables
- func Float64Ptr(v float64) *float64
- func Int64Ptr(v int64) *int64
- func IntPtr(v int) *int
- func SliceStringPtr(v []string) *[]string
- func SliceStringValue(v *[]string) []string
- func StringPtr(v string) *string
- func Uint64Ptr(v uint64) *uint64
- func UintPtr(v uint) *uint
- type Client
- type Credential
- type Option
- type Options
Constants ¶
View Source
const ( Topic = iota Queue )
View Source
const ( SHA256 = "HmacSHA256" SHA1 = "HmacSHA1" )
Variables ¶
View Source
var ( WideNetQueueUrl = "https://cmq-queue-{region}.api.qcloud.com" WideNetTopicUrl = "https://cmq-topic-{region}.api.qcloud.com" InternalNetQueueUrl = "http://cmq-queue-{region}.api.tencentyun.com" InternalNetTopicUrl = "http://cmq-topic-{region}.api.tencentyun.com" )
View Source
var UriSec = "/v2/index.php"
Functions ¶
func Float64Ptr ¶
func SliceStringPtr ¶
func SliceStringValue ¶
Types ¶
type Credential ¶
type Option ¶
type Option func(*Options)
func SetCredential ¶
func SetCredential(c *Credential) Option
func Transaction ¶
type Options ¶
type Options struct { Region string `yaml:"region"` Credential *Credential `yaml:"credential"` NetEnv string `yaml:"net_env"` // contains filtered or unexported fields }
Click to show internal directories.
Click to hide internal directories.