Current section
Files
Jump to
Current section
Files
lib/diffo/repo.ex
# SPDX-FileCopyrightText: 2025 diffo contributors <https://github.com/diffo-dev/diffo/graphs.contributors>
#
# SPDX-License-Identifier: MIT
defmodule Diffo.Repo do
@moduledoc false
use GenServer
def init(init_arg) do
{:ok, init_arg}
end
def start_link(_stack) do
case Application.get_env(:bolty, Bolt) do
nil -> :ignore
config -> Bolty.start_link(config)
end
end
end