View Source HayCluster (hay_cluster v1.0.1)

Summary

Functions

Starts the current node as a distributed node with the name of :"manager@127.0.0.1"

Starts multiple child nodes and return node names for further use

Stops the nodes

Functions

@spec start_distribution() :: {:ok, pid()}

Starts the current node as a distributed node with the name of :"manager@127.0.0.1"

Link to this function

start_nodes(prefix, amount, opts \\ [])

View Source
@spec start_nodes(atom(), pos_integer(), Keyword.t()) :: [atom()]

Starts multiple child nodes and return node names for further use

@spec stop_nodes([atom()]) :: :ok

Stops the nodes