dice
dice copied to clipboard
Added Websocket support
Closes #555 and #557
This PR
- adds support for Websocket to interact with diceDB. It supports all the commands except Qwatch, Qunwatch and Subscribe.
- adds one more server for Websocket in
websocketServer.go - adds a cli like string based parsing logic
ParseWebsocketMessageto support commands from websocket - adds unit tests for parsing logic
- uses new evaluation for migrated commands for Websocket
- adds integrations tests for SET command
@pratikpandey21 - Please review cc - @soumya-codes @AshwinKul28
@pratikpandey21 - Resolved the comment. Please review.
@lucifercr07 - please review.
@psrvere , why are we modelling WS commands as HTTP ones? Why can't we follow the same way we interact using RESP?