Categorygithub.com/data-dog/golang-websocket-hub
modulepackage
0.0.0-20160116191846-33749930961c
Repository: https://github.com/data-dog/golang-websocket-hub.git
Documentation: pkg.go.dev

# README

Websocket hub for golang

GoDoc

What? - ready to use websocket server with user subscription for private or broadcast messages. It is based on gorilla websockets package.

Why? - I find it a common use case for needing such behavior in day to day applications. Decided to opensource, maybe someone will find it useful.

See the example application built with angular to show realtime behavior.

cd example && make

Visit localhost:8000 to see it in action. Open a few tabs and try to send some messages.

# Packages

No description provided by the author

# Functions

No description provided by the author
No description provided by the author

# Variables

No description provided by the author
Maximum message size allowed from peer.
Send pings to peer with this period.
Time allowed to read the next pong message from the peer.
No description provided by the author
No description provided by the author
Time allowed to write a message to the peer.

# Structs

No description provided by the author
No description provided by the author
No description provided by the author

# Interfaces

No description provided by the author

# Type aliases

No description provided by the author