Update README.md
Updated to reflect new type names.
This commit is contained in:
parent
bc80b2f853
commit
37db439a4a
@ -67,10 +67,10 @@ Usage
|
|||||||
echomsg, err := c.Echo(echo)
|
echomsg, err := c.Echo(echo)
|
||||||
// ... error handling
|
// ... error handling
|
||||||
log.Println(string(echomsg))
|
log.Println(string(echomsg))
|
||||||
jobHandler := func(job *client.Job) {
|
jobHandler := func(resp *client.Response) {
|
||||||
log.Printf("%s", job.Data)
|
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
|
Branches
|
||||||
|
Loading…
Reference in New Issue
Block a user