相关仓库与示例:
这个页面用于梳理当前 Dubbo Go 生态里的主要仓库。很多旧文档还会引用 dubbogo/* 下的历史仓库或工具位置;如果是今天要开发或排查问题,优先以 Apache 名下的仓库作为入口。
Dubbo Go 主运行时仓库,包含:
tools/protoc-gen-go-triple 等工具tools/dubbogo-cli 等工具github.com/apache/dubbo-go-samples
这是最适合查找可运行示例的仓库。比较常用的目录包括:
helloworldconfig_yamlgenericregistry/nacos、registry/zookeeper、registry/etcd、registry/polarisrpc/triple、rpc/multi-protocols、rpc/grpcfilter/custom、filter/token、filter/sentinelrouter/condition、router/tag、router/script、router/static_configmeshjava_interop/*triple_header_trailerapache/dubbo-go/tools/protoc-gen-go-triple
Dubbo Go Triple 服务的 protobuf 代码生成插件。新的文档应当指向这里,而不是历史上的独立工具仓库。
apache/dubbo-go/tools/dubbogo-cli
用于 Dubbo / Dubbo Go 调试与互通场景的命令行工具。现在它已经位于主仓库 apache/dubbo-go 内部。
github.com/apache/dubbo-go-hessian2
Dubbo Go 使用的 Hessian2 序列化库,在 Dubbo 协议和泛化调用互通场景里很常见。
Dubbo Go 生态中使用的异步网络 IO 库之一。
一些旧文章里还会提到:
如果是当前 Dubbo Go 开发,优先使用 Apache 仓库以及 apache/dubbo-go 下的 tools/ 目录。