1
0
mirror of https://github.com/chai2010/advanced-go-programming-book.git synced 2025-05-24 12:32:21 +00:00

Merge pull request #221 from fuwensun/pr4-3-2a

fixed typos
This commit is contained in:
chai2010 2018-08-02 06:38:46 +08:00 committed by GitHub
commit a8666c429e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -4,7 +4,7 @@
## 客户端RPC的实现原理 ## 客户端RPC的实现原理
Go语言的RPC库最简单的方式是通过`Client.Call`方法进行同步阻塞调用,该方法的实现如下: Go语言的RPC库最简单的使用方式是通过`Client.Call`方法进行同步阻塞调用,该方法的实现如下:
```go ```go
func (client *Client) Call(serviceMethod string, args interface{}, reply interface{}) error { func (client *Client) Call(serviceMethod string, args interface{}, reply interface{}) error {