config.go 395 B

1234567891011121314151617181920212223242526
  1. package config
  2. import (
  3. "github.com/zeromicro/go-zero/rest"
  4. "github.com/zeromicro/go-zero/zrpc"
  5. "jyBXBase/entity"
  6. )
  7. type Config struct {
  8. rest.RestConf
  9. Webrpcport int64
  10. Gateway struct {
  11. ServerCode string
  12. Etcd []string
  13. }
  14. BxBase zrpc.RpcClientConf
  15. MgoLogsName string
  16. }
  17. type Db struct {
  18. MgoLog *entity.LogMongoDBStruct
  19. }
  20. type Routes struct {
  21. ExcludeRoute []string
  22. }