From 37db439a4a8cb0d0c1fcd820e99470e69e695f8e Mon Sep 17 00:00:00 2001 From: "C.R. Kirkwood-Watts" Date: Mon, 19 Jan 2015 10:28:21 -0800 Subject: [PATCH] Update README.md Updated to reflect new type names. --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index aef8968..ad25606 100644 --- a/README.md +++ b/README.md @@ -67,10 +67,10 @@ Usage echomsg, err := c.Echo(echo) // ... error handling log.Println(string(echomsg)) - jobHandler := func(job *client.Job) { - log.Printf("%s", job.Data) + jobHandler := func(resp *client.Response) { + log.Printf("%s", resp.Data) } - handle, err := c.Do("ToUpper", echo, client.JOB_NORMAL, jobHandler) + handle, err := c.Do("ToUpper", echo, client.JobNormal, jobHandler) // ... Branches