DEV Community

Discussion on: Go: Creating distributed systems using memberlist

Collapse
 
bharath619 profile image
bharath619

how to send messages from one peer to another?

Collapse
 
davidsbond profile image
David Bond

The "Communication between members" section of this post has an example of how to send messages between peers. The memberlist API will expose the hosts of each node in the cluster, so you can just add your own messaging layer on top and use the information memberlist gives you to send messages