I made a mistake with my example. c.Start() needs to be a separate go 
routine because it is an infinite loop waiting for messages: go c.Start().

In that case, I am guessing an errors channel would be the best?

Cheers,
Francis

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to