|
||
---|---|---|
hub | ||
.envrc | ||
.gitignore | ||
README.org | ||
docker-compose.yml | ||
shell.nix |
README.org
Web Sub Hub test build
Run as normal with docker-compose up
Check the log to see that the hub builds and starts up, the hub will then print a message like:
2020/11/21 08:25:06 Created subscription for a-topic
While the client prints:
time="2020-11-21T08:25:12Z" level=info msg="Got a post, and all is good"
Make the hub send messages
Take your browser and head to http://127.0.0.1:8080/spam/a-topic
The last bit decides which topic to send messages to.