config.go 369 B

123456789101112131415161718
  1. package config
  2. import (
  3. "bp.jydev.jianyu360.cn/SocialPlatform/knowledgeBase/entity"
  4. "github.com/zeromicro/go-zero/zrpc"
  5. )
  6. var C Config
  7. type Config struct {
  8. zrpc.RpcServerConf
  9. WebRpcPort int64
  10. MysqlMain entity.MysqlMainStruct
  11. Es entity.EsStruct
  12. Segment string
  13. TestConf zrpc.RpcClientConf
  14. UserCenterConf zrpc.RpcClientConf
  15. }