From 0a03b43b0d7745463d3c6e8df33873f8b7d93ff0 Mon Sep 17 00:00:00 2001 From: invzhi Date: Thu, 21 Dec 2017 12:02:38 +0800 Subject: [PATCH] Update README.md in chat example --- examples/chat/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/chat/README.md b/examples/chat/README.md index 7baf3e3..56bd8da 100644 --- a/examples/chat/README.md +++ b/examples/chat/README.md @@ -44,7 +44,7 @@ Clients send requests to the hub using the `register`, `unregister` and `broadcast` channels. The hub registers clients by adding the client pointer as a key in the -`clients` map. The map value is always true. +`clients` map. The map value is empty struct. The unregister code is a little more complicated. In addition to deleting the client pointer from the `clients` map, the hub closes the clients's `send`