You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
313 B
19 lines
313 B
2 years ago
|
package tencent
|
||
|
|
||
|
type ConfigTencent struct {
|
||
|
SecretId string
|
||
|
SecretKey string
|
||
|
}
|
||
|
|
||
|
type Tencent struct {
|
||
|
config ConfigTencent
|
||
|
Lighthouse lighthouse
|
||
|
}
|
||
|
|
||
|
func NewTencent(config *ConfigTencent) *Tencent {
|
||
|
t := &Tencent{}
|
||
|
t.config.SecretId = config.SecretId
|
||
|
t.config.SecretKey = config.SecretKey
|
||
|
return t
|
||
|
}
|