This example shows how to create a basic chat client using NATS.
- NATS provides everything needed to publish and subcribe messages into the bus.
- Sync, Async and Channels are supports.
- You can create request/response constructs as well.
Chat Editbox (Go Playground)
Chat App (Go Playground)
Add support for chaning channels. Add a new bot
command called chan
where you can specify the new channel name.
All material is licensed under the Apache License Version 2.0, January 2004.