weewx-proxy/lib/weewx_proxy/application.ex
2023-06-06 16:41:34 +02:00

18 lines
331 B
Elixir

defmodule WeewxProxy.Application do
@moduledoc false
use Application
@impl true
def start(_type, _args) do
children = [
WeewxProxy.Mqtt,
WeewxProxy.Publisher,
WeewxProxy.Http
]
opts = [strategy: :one_for_one, name: WeewxProxy.Supervisor]
Supervisor.start_link(children, opts)
end
end