diff --git a/ch4-rpc/ch4-04-grpc.md b/ch4-rpc/ch4-04-grpc.md index d3176bc..43d514b 100644 --- a/ch4-rpc/ch4-04-grpc.md +++ b/ch4-rpc/ch4-04-grpc.md @@ -300,7 +300,7 @@ type PubsubService_SubscribeServer interface { } ``` -因为Subscribe是服务端的单向流,因此生成的HelloService_SubscribeServer接口中只有Send方法。 +因为Subscribe是服务端的单向流,因此生成的PubsubService_SubscribeServer接口中只有Send方法。 然后就可以实现发布和订阅服务了: