Current section

Files

Jump to
telegex_plug lib telegex plug application.ex
Raw

lib/telegex/plug/application.ex

defmodule Telegex.Plug.Application do
@moduledoc false
use Application
def start(_type, _args) do
children = [Telegex.Plug.Cache, Telegex.Plug.Pipeline]
opts = [strategy: :one_for_one, name: Telegex.Plug.Supervisor]
Supervisor.start_link(children, opts)
end
end