Current section

Files

Jump to
rabbit lib rabbit application.ex
Raw

lib/rabbit/application.ex

defmodule Rabbit.Application do
@moduledoc false
use Application
@doc false
@impl Application
def start(_type, _args) do
children = [
Rabbit.Config,
Rabbit.Worker.Supervisor
]
opts = [strategy: :one_for_one, name: Rabbit.Supervisor]
Supervisor.start_link(children, opts)
end
end