123456789101112131415161718192021222324252627 |
- package config
- import (
- "bp.jydev.jianyu360.cn/SocialPlatform/knowledgeBase/entity"
- "github.com/zeromicro/go-zero/zrpc"
- )
- type Config struct {
- zrpc.RpcServerConf
- WebRpcPort int64
- MysqlMain entity.MysqlMainStruct
- Es entity.EsStruct
- Segment string
- TestConf zrpc.RpcClientConf
- UserCenterConf zrpc.RpcClientConf
- FindCount int
- RecommendQuestionCount int
- Esv7 struct {
- Addr string
- Size int
- Username string
- Password string
- Index string
- Type string
- }
- MinScore float64
- }
|