Module libp2p_cache

Libp2p Cache

.

Function Index

code_change/3
delete/2
handle_call/3
handle_cast/2
handle_info/2
init/1
insert/3
lookup/2
lookup/3
start_link/1
terminate/2

Function Details

code_change/3

code_change(OldVsn, State, Extra) -> any()

delete/2


delete(Pid::pid(), Key::any()) -> ok | {error, any()}


handle_call/3

handle_call(Msg, From, State) -> any()

handle_cast/2

handle_cast(Msg, State) -> any()

handle_info/2

handle_info(Msg, State) -> any()

init/1

init(X1) -> any()

insert/3


insert(Pid::pid(), Key::any(), Value::any()) -> ok | {error, any()}


lookup/2


lookup(Pid::pid(), Key::any()) -> undefined | any()


lookup/3


lookup(Pid::pid(), Key::any(), Default::any()) -> undefined | any()


start_link/1

start_link(Args) -> any()

terminate/2

terminate(Reason, State) -> any()