Skip to content

Commit

Permalink
Improve README
Browse files Browse the repository at this point in the history
  • Loading branch information
ndthuan committed Feb 25, 2021
1 parent 4324b9f commit 078c772
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ wsServer.On("login", loginHandler())
wsServer.On("logout", logoutHandler())
wsServer.On("human-message", humanMessageHandler())
```
* Ability to broadcast customized messages to all connected clients (see below)
* A standalone runner can be started in a separate goroutine to proactively broadcast messages to all clients without receiving a message
```go
package main
Expand Down

0 comments on commit 078c772

Please sign in to comment.