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 {
- Address string `yaml:"addr"`
- Size int `yaml:"size"`
- Username string `yaml:"username"`
- Password string `yaml:"password"`
- Index string `yaml:"index"`
- Type string `yaml:"type"`
- }
- MinScore float64
- }
|