Packages

Elixir ACL library for managing user abilities and permissions with support of ecto(uuid) and compatibility with absinthe

Current section

Files

Jump to
terminator_uuid lib terminator application.ex
Raw

lib/terminator/application.ex

defmodule Terminator.UUID.Application do
@moduledoc false
use Application
alias Terminator.UUID.Config
def start(_type, args) do
repo = Config.repo()
children = [
{repo, args},
{Terminator.UUID.Registry, []}
]
opts = [strategy: :one_for_one, name: Terminator.UUID.Supervisor]
Supervisor.start_link(children, opts)
end
end