This PR is supposed to be the first in order to solve #118 by first implementing the ability to subscribe to PubSub nodes and request their data.
What I am not sure about is my choice to replace the big if-then-else block with an empty switch statement. In my further patch writing, it made the code more readable, but I can change it.
Also I am sure that I messed up somewhere as I had to rebase this multiple times and it seems as if my editor was not set to Golang.
This PR is supposed to be the first in order to solve #118 by first implementing the ability to subscribe to PubSub nodes and request their data.
What I am not sure about is my choice to replace the big if-then-else block with an empty switch statement. In my further patch writing, it made the code more readable, but I can change it.
Also I am sure that I messed up somewhere as I had to rebase this multiple times and it seems as if my editor was not set to Golang.