我使用 go-micro V3 创建了两个微服务,如下所示。你好世界1 你好世界2
微服务可在本地端点 /helloworld1 和 /helloworld2 中访问。
有没有办法通过 rpc 调用从 helloworld1 调用 helloworld2 并使它们在 go micro 服务器内部进行通信?
示例代码会更有帮助。
我使用 go-micro V3 创建了两个微服务,如下所示。你好世界1 你好世界2
微服务可在本地端点 /helloworld1 和 /helloworld2 中访问。
有没有办法通过 rpc 调用从 helloworld1 调用 helloworld2 并使它们在 go micro 服务器内部进行通信?
示例代码会更有帮助。