···11+* SSE server in Golang
22+33+This is just a POC of a SSE server containing two endpoints, 1 for subscribing and 1 for publishing messages.
44+55+66+** How to run
77+88+You can use =just= to run the server locally
99+1010+#+begin_src shell
1111+just run
1212+#+end_src
1313+1414+** How to use
1515+1616+After running the server, you can subscribe using =curl= with the following command
1717+1818+#+begin_src shell
1919+curl localhost:8000/subscribe
2020+#+end_src
2121+2222+Later, you can simply publish a message in the =/publish= endpoint with the following command
2323+2424+#+begin_src shell
2525+curl localhsot:8000/publish -d '{"name": "Tulkdan", "value": 2000 }'
2626+#+end_src