config.go 279 B

123456789101112131415161718
  1. package config
  2. import (
  3. "github.com/zeromicro/go-zero/zrpc"
  4. "jyBXBase/entity"
  5. )
  6. type Config struct {
  7. zrpc.RpcServerConf
  8. Webrpcport int64
  9. }
  10. type Db struct {
  11. MysqlMain entity.MysqlStruct
  12. RedisDB entity.RedisDBStuct
  13. Es entity.EsStruct
  14. MongoDb entity.MongoDb
  15. }