Elixir Keyring v0.1.2 Keyring.Supervisor View Source

A Supervisor to Start and Manage your Keyrings.

Link to this section Summary

Functions

Create a new process if it doesnt exist else return the process.

Examples

iex> Keyring.Supervisor.find_or_create_process("google")
"{}"

Get the ids of all processes in the registry.

Examples

iex> Keyring.Supervisor.key_ids("google")
"[]"

Check if process exists.

Examples

iex> Keyring.Supervisor.process_exists("google")
"true"

Start a keyring server.

Examples

iex> Keyring.Supervisor.start("google")
"%{}"

Stop the keyring server.

Examples

iex> Keyring.Supervisor.stop("google")
":ok"

Link to this section Functions

Link to this function find_or_create_process(id) View Source

Create a new process if it doesnt exist else return the process.

Examples

iex> Keyring.Supervisor.find_or_create_process("google")
"{}"

Get the ids of all processes in the registry.

Examples

iex> Keyring.Supervisor.key_ids("google")
"[]"

Check if process exists.

Examples

iex> Keyring.Supervisor.process_exists("google")
"true"

Start a keyring server.

Examples

iex> Keyring.Supervisor.start("google")
"%{}"

Stop the keyring server.

Examples

iex> Keyring.Supervisor.stop("google")
":ok"