update readme

This commit is contained in:
Asim Aslam 2017-01-01 19:33:24 +00:00 committed by Vasiliy Tolstov
parent 0ecda81201
commit f4e2c155f5

View File

@ -36,7 +36,7 @@ Assuming you have a http service "my.service" with path "/foo/bar"
client := http.NewClient() client := http.NewClient()
// create request/response // create request/response
request := client.NewRequest("my.service", "/foo/bar", &proto.Request{}) request := client.NewRequest("my.service", "/foo/bar", protoRequest{})
response := new(proto.Response) response := new(proto.Response)
// call service // call service