Adding example code on how to use emit/response messages

I ended up killing a few hours trying to figure out why a callback parameter was causing "too few input" errors for emit/response messages. I'm a bit new to golang and it wasn't obvious to me that method return objects would just get linked up automatically.

I added a sample emit/response to the example.