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:
parent
4d855068bf
commit
7a0788d78b
@ -300,7 +300,7 @@ type PubsubService_SubscribeServer interface {
|
||||
}
|
||||
```
|
||||
|
||||
因为Subscribe是服务端的单向流,因此生成的HelloService_SubscribeServer接口中只有Send方法。
|
||||
因为Subscribe是服务端的单向流,因此生成的PubsubService_SubscribeServer接口中只有Send方法。
|
||||
|
||||
然后就可以实现发布和订阅服务了:
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user