Current section

Files

Jump to
gate lib application.ex
Raw

lib/application.ex

defmodule Gate.Application do
@moduledoc false
use Application
def start(_type, _args) do
import Supervisor.Spec
children = [
worker(Gate.Locale, [])
]
options = [
name: Gate.Supervisor,
strategy: :one_for_one
]
Supervisor.start_link(children, options)
end
end