fix: add grpc provider reference in codes generated by protoc-gen-dubbo (#127)

* fix: add grpc provider reference

* fix: fix grpc intergration test
33 files changed
tree: b95c8c069689bbf5fedf1c98b494ac2e3c9821b3
  1. .github/
  2. .images/
  3. .run/
  4. async/
  5. attachment/
  6. build/
  7. chain/
  8. config-api/
  9. configcenter/
  10. context/
  11. direct/
  12. docker/
  13. filter/
  14. game/
  15. general/
  16. generic/
  17. group/
  18. helloworld/
  19. metric/
  20. multi-registry/
  21. multi-zone/
  22. openzipkin/
  23. registry/
  24. router/
  25. seata/
  26. shopping-order/
  27. tls/
  28. tracing/
  29. version/
  30. .asf.yaml
  31. .gitignore
  32. ci.sh
  33. go.mod
  34. go.sum
  35. HOWTO.md
  36. HOWTO_zh.md
  37. integrate_test.sh
  38. LICENSE
  39. README.md
  40. README_zh.md
  41. start_integrate_test.sh
README.md

Dubbo Golang Examples

CI

What It Contains

  • async: An async example.
  • attachment: An attachment example, to show how to use attachment to pass user data from the client to the server.
  • chain: Show an example of calling chain
  • config-api: Use API to config Dubbo-go
  • configcenter: Uses of different config centers, including zookeeper, apollo and nacos at present.
  • context: Use context
  • direct: A direct invocation example
  • docker: Use Docker to package and run Dubbo-go application
  • filter: Some examples of different filter, including custom_filter and tpslimit
  • game: game service example
  • general: A general example
  • generic: A generic invocation example
  • group: Service group
  • helloworld: A 101 example
  • metric: Enable metrics in Dubbo-go application
  • multi-registry: Register services to different registry centers
  • multi-zone: Call Dubbo services from different zones
  • multi_registry: A multi-registry example
  • openzipkin: Zipkin in Dubbo-go example, It helps Dubbo-go gathering tracing data for troubleshoot latency problems
  • registry: uses of different registres, including kubernetes, nacos, etcd and service-discovery
  • router: router examples, including condition and tag
  • seata: A seata example
  • shopping-order: A complete shopping sample
  • tls: Use TLS in Dubbo-go application
  • tracing: tracing example
  • version: multiple versions example

How To Run

Pls. refer How To Run for the instructions.

How to contribute

If you want to add more samples, pls. read on:

  1. Create new sub directory and give it an appropriate name for your new sample. Pls. follow the layout of the existing sample if you are not sure how to organize your code.
  2. Make sure your sample work as expected before submit PR, and make sure GitHub CI passes after PR is submitted. Pls. refer to the existing sample on how to test the sample.
  3. Pls. provide README.md to explain your samples.