18 lines
328 B
Elixir
18 lines
328 B
Elixir
|
defmodule Prymn.Messaging.Supervisor do
|
||
|
use Supervisor
|
||
|
|
||
|
def start_link(opts) do
|
||
|
Supervisor.start_link(__MODULE__, opts, name: __MODULE__)
|
||
|
end
|
||
|
|
||
|
@impl true
|
||
|
def init(_init_arg) do
|
||
|
children =
|
||
|
[
|
||
|
# Prymn.Messaging.HealthConsumer
|
||
|
]
|
||
|
|
||
|
Supervisor.init(children, strategy: :one_for_one)
|
||
|
end
|
||
|
end
|