Beethoven.Role.Client (Beethoven v0.2.3)
Client library for accessing and communicating with the Role Server.
Summary
Functions
Adds a role to the Role server. Role must already be defined in the config.
Adds a role to the Role server. Role must already be defined in the config.
The same as add_role/1
but ran on an external node.
Removes all roles from the Role server.
Removes all roles from the Role server.
The same as kill_all_roles/0
but ran on an external node.
Removes a role from the Role server.
Removes a role from the Role server.
The same as kill_role/1
but ran on an external node.
Functions
Adds a role to the Role server. Role must already be defined in the config.
Adds a role to the Role server. Role must already be defined in the config.
The same as add_role/1
but ran on an external node.
@spec kill_all_roles() :: :ok
Removes all roles from the Role server.
Removes all roles from the Role server.
The same as kill_all_roles/0
but ran on an external node.
@spec kill_role(atom()) :: :dead | {:error, :not_here}
Removes a role from the Role server.
Removes a role from the Role server.
The same as kill_role/1
but ran on an external node.