You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
2 years ago | |
---|---|---|
hub | 2 years ago | |
.envrc | 2 years ago | |
.gitignore | 2 years ago | |
README.org | 2 years ago | |
docker-compose.yml | 2 years ago | |
shell.nix | 2 years ago |
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.