Module libp2p_gossip_stream

This module defines the libp2p_gossip_stream behaviour.
Required callback functions: handle_data/3, accept_stream/3.

Function Index

client/2
encode/2
handle_data/3
init/3
server/4

Function Details

client/2

client(Connection, Args) -> any()

encode/2

encode(Key, Data) -> any()

handle_data/3

handle_data(X1, Data, State) -> any()

init/3

init(X1, Connection, X3) -> any()

server/4

server(Connection, Path, TID, Args) -> any()