barrel_p2p_proxy_sup (barrel_p2p v0.1.0)

View Source

Summary

Functions

get_proxy(Name)

-spec get_proxy(atom() | binary()) -> {ok, pid()} | not_found.

init(_)

list_proxies()

-spec list_proxies() -> [{atom() | binary(), pid()}].

start_link()

start_proxy(Name, TargetNode)

-spec start_proxy(atom() | binary(), node()) -> {ok, pid()} | {error, term()}.

stop_proxy(Name)

-spec stop_proxy(atom() | binary()) -> ok.