Packages

Role and permission management for Ecto and Phoenix applications.

Current section

Files

Jump to
permit_ex lib permit_ex application.ex
Raw

lib/permit_ex/application.ex

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