You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// Create a gossiper
g := NewGossiper("<ip>:<port>", "<unique node id>", "<peer-list>")
// Add peer nodes with whom you want to gossip
g.AddNode("<peer_ip>:<peer_port>")
...
// update self values
g.UpdateSelf("<some_key>", "<any_value>")
// start gossip
g.Start()
However, we have no direction on what package to include. I also went through the files in this repo and I'm not quite sure where NewGossiper is being defined... How are you getting this function exactly?! It's kinda driving me nuts because it's witchcraft if it just works without import . "thing"
The text was updated successfully, but these errors were encountered:
In
README.md
we see an example:However, we have no direction on what package to include. I also went through the files in this repo and I'm not quite sure where
NewGossiper
is being defined... How are you getting this function exactly?! It's kinda driving me nuts because it's witchcraft if it just works withoutimport . "thing"
The text was updated successfully, but these errors were encountered: