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..myqcloud.com BucketUrl string PrivateBucketUrl string SecretId string SecretKey string ServiceUrl string } }