chat

command
v0.0.0-...-b3f521c Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 19, 2017 License: Apache-2.0 Imports: 10 Imported by: 0

README

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.

Documentation

Overview

Sample program to show how to build a very basic chat client using NATS.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL