github.com/fossoreslp/go-easy-websocket (go): Package websocket provides an easy, text-based way to build a websocket server.  It uses a command based message structure. The command can have a length between 1 and 255 characters and may contain all characters besides a colon although it is recommended to use short, lowercase, one word commands to keep the messages as short as possible.  The command is followed by a colon and a space after which the optional content is appended.  This format keeps all messages as human-readable as possible to allow for easy diagnosis of errors.  You can register a handler for a specific command which allows you to respond directly. This is the recommended way of responding to a command although it is also possible to store the users session id and use it to respond later. This might be useful when complex computations are necessary to generate the response and you don't want to block the read loop.  It is possible to address multiple clients at once through the use of channels. You have to register a channel name which clients can then use to register as listeners. A message submitted to a channel will be sent to all listening clients.
Keywords: go|golang|golang-package|websockets