config.go 329 B

12345678910111213141516171819
  1. package config
  2. import (
  3. "github.com/zeromicro/go-zero/rest"
  4. "github.com/zeromicro/go-zero/zrpc"
  5. )
  6. type Config struct {
  7. rest.RestConf
  8. AppId int64
  9. Webrpcport int64
  10. Gateway struct {
  11. ServerCode string
  12. Etcd []string
  13. }
  14. Common zrpc.RpcClientConf
  15. Manager zrpc.RpcClientConf
  16. Consumer zrpc.RpcClientConf
  17. }