grapevine v0.2.0 Grapevine.Gossip behaviour View Source
This module is the interface for custom gossip protocols
The module implements basic behaviour for a gossip protocol
Link to this section Summary
Link to this section Functions
Link to this function
add(name, id, value, timeout \\ 5000)
View Source
add(name, id, value, timeout \\ 5000)
View Source
add(atom(), binary(), any(), non_neg_integer()) :: :ok | {:error, term()}
add(atom(), binary(), any(), non_neg_integer()) :: :ok | {:error, term()}
Link to this section Callbacks
Link to this callback
do_init(map, keyword) View Source
Link to this callback
filter(map) View Source
Link to this callback
merge(binary, any, map) View Source
Link to this callback
neighbours(map) View Source
Link to this callback