28 lines
517 B
Go
28 lines
517 B
Go
package config
|
|
|
|
import (
|
|
"github.com/zeromicro/go-zero/core/logx"
|
|
"github.com/zeromicro/go-zero/zrpc"
|
|
)
|
|
|
|
const (
|
|
HOST = "10.101.15.3"
|
|
PORT = "6443"
|
|
)
|
|
|
|
type Config struct {
|
|
zrpc.RpcServerConf
|
|
OpenstackConfig
|
|
LogConf logx.LogConf
|
|
PcmCoreRpcConf zrpc.RpcClientConf
|
|
//Participant Participant
|
|
}
|
|
|
|
/*type Participant struct {
|
|
Address string `json:"address"`
|
|
Type string `json:"type"`
|
|
TenantId int64 `json:"tenantId"`
|
|
TenantName string `json:"tenantName"`
|
|
Labels map[string]string
|
|
}*/
|