Current section

Files

Jump to
pow lib pow application.ex
Raw

lib/pow/application.ex

defmodule Pow.Application do
@moduledoc false
use Application
@doc """
Starts the Pow application.
The EtsCache will be started by default.
"""
def start(_type, _args) do
import Supervisor.Spec
children = [
worker(Pow.Store.Backend.EtsCache, [[]])
]
opts = [
strategy: :one_for_one,
name: Pow.Supervisor
]
Supervisor.start_link(children, opts)
end
end