- Basic: You can using it like a serverless or can use like a micro service.
- Simple: Simple flow looklike a service notification.
- JS support: Integrated
jsclient with support browser or nodejs enviroment. - Fast: You can run like a server very simple and fast.
- Other: Can use like a
brokerrealtime service.
Using golang
go get -v github.com/my0sot1s/hsocketJS client request wsclient
http://<path>/wsClient.js
+------------+
+--------+ /ws | | /ws +----------+
| client +---------------> ws +---------------> client |
+--------+ -subscribe | | -broadcast +----------+
unsubscribe +------+-----+
|
|
|/ws+firer
|
|
|
+----------------------+
| other service(grpc) |
| caller (rest) |
+----------------------+
- Ws is a simple server between client and other realtime server. Ws just received message define
Command, So server just listen requestsubscribeorunsubscribefrom client. other serviceis something connect to ws. We don't know. Ws can listen with endpoint\ws-firerwith payload is aMessageto broadcast to all client listen topic.- You can see my struct at core.go