| 123456789101112131415161718192021222324 |
- package config
- import (
- "github.com/zeromicro/go-zero/rest"
- "github.com/zeromicro/go-zero/zrpc"
- )
- type Config struct {
- rest.RestConf
- Auth struct {
- AccessSecret string
- AccessExpire int64
- }
- SlowwildRpc zrpc.RpcClientConf
- TencentCos struct {
- // 访问 bucket, object 相关 API 的基础 URL(不包含 path 部分): https://examplebucket-1250000000.cos.<Region>.myqcloud.com
- BucketUrl string
- PrivateBucketUrl string
- SecretId string
- SecretKey string
- ServiceUrl string
- }
- }
|