update readme
This commit is contained in:
parent
f4e2c155f5
commit
71b9333aca
@ -37,7 +37,7 @@ client := http.NewClient()
|
|||||||
|
|
||||||
// create request/response
|
// create request/response
|
||||||
request := client.NewRequest("my.service", "/foo/bar", protoRequest{})
|
request := client.NewRequest("my.service", "/foo/bar", protoRequest{})
|
||||||
response := new(proto.Response)
|
response := new(protoResponse)
|
||||||
|
|
||||||
// call service
|
// call service
|
||||||
err := client.Call(context.TODO(), request, response)
|
err := client.Call(context.TODO(), request, response)
|
||||||
|
Loading…
Reference in New Issue
Block a user