Skip to content

Latest commit

 

History

History

chat

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

NATS : Chat Client

This example shows how to create a basic chat client using NATS.

Notes

  • 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.

Code Review

Chat Editbox (Go Playground)
Chat App (Go Playground)

Exercises

Exercise 1

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.