Wampex.Router (wampex_router v0.2.0)

Link to this section Summary

Functions

Returns a specification to start this module under a supervisor.

Callback implementation for Supervisor.init/1.

Link to this section Functions

Link to this function

child_spec(init_arg)

Returns a specification to start this module under a supervisor.

See Supervisor.

Specs

init(
  {module(), pos_integer(), list(), integer(), integer(), module(), module()}
) ::
  {:ok, {:supervisor.sup_flags(), [:supervisor.child_spec()]}} | :ignore

Callback implementation for Supervisor.init/1.

Link to this function

realms_name(name)

Link to this function

start_link(list)

Specs

start_link(
  name: module(),
  port: pos_integer(),
  topologies: [],
  replicas: integer(),
  quorum: integer(),
  authentication_module: module() | map(),
  authorization_module: module() | map()
) ::
  {:ok, pid()}
  | {:error, {:already_started, pid()} | {:shutdown, term()} | term()}