View Source NodeRegistry (node_registry v0.1.0)
A simple registry for nodes. It uses the Erlang :global module. https://www.erlang.org/doc/man/global.html One must start the registry on each node: Add {NodeRegistry, :my_service} to the supervisor's children list.
Link to this section Summary
Functions
Returns a specification to start this module under a supervisor.
Link to this section Types
Link to this section Functions
@spec all() :: [t()]
Returns a specification to start this module under a supervisor.
See Supervisor
.
@spec start_link(name()) :: GenServer.on_start()