forked from JointCloud/pcm-coordinator
19 lines
346 B
Go
Executable File
19 lines
346 B
Go
Executable File
package config
|
|
|
|
import (
|
|
"github.com/zeromicro/go-zero/core/logx"
|
|
"github.com/zeromicro/go-zero/zrpc"
|
|
)
|
|
|
|
type Config struct {
|
|
zrpc.RpcServerConf
|
|
LogConf logx.LogConf
|
|
PcmCoreRpcConf zrpc.RpcClientConf
|
|
SecretConfig SecretConfig
|
|
}
|
|
|
|
type SecretConfig struct {
|
|
SecretId string `json:"secretId"`
|
|
SecretKey string `json:"secretKey"`
|
|
}
|