Skip to content
/ go-wsh Public

Implementation of golang websocket server that allows clients to subscribe/unsubscribe to multiple topics

Notifications You must be signed in to change notification settings

hugjobk/go-wsh

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Websocket handler

Implementation of golang websocket server that allows clients to subscribe/unsubscribe to multiple topics

Start websocket server

go run cmd/server/main.go

Connect to websocket server

wscat -c 127.0.0.1:8080/ws

Subscribe to one or more topics

subscribe A B

Unsubscribe from one or more topics

unsubscribe B

Unsubscribe from all topics

unsubscribe

About

Implementation of golang websocket server that allows clients to subscribe/unsubscribe to multiple topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages