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.
go-library/service/tencent/tencent.go

19 lines
313 B

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
}