1
0
mirror of https://github.com/chai2010/advanced-go-programming-book.git synced 2025-05-23 20:02:22 +00:00

doc: typo of PubsubService_SubscribeServer

This commit is contained in:
gerrard 2021-02-09 14:14:41 +08:00
parent 4d855068bf
commit 7a0788d78b

View File

@ -300,7 +300,7 @@ type PubsubService_SubscribeServer interface {
}
```
因为Subscribe是服务端的单向流因此生成的HelloService_SubscribeServer接口中只有Send方法。
因为Subscribe是服务端的单向流因此生成的PubsubService_SubscribeServer接口中只有Send方法。
然后就可以实现发布和订阅服务了: