17 lines
275 B
Elixir
17 lines
275 B
Elixir
defmodule ExMine.Application do
|
|
use Application
|
|
|
|
def start(_type, _args) do
|
|
children = [
|
|
{ExMine.Server, []}
|
|
]
|
|
|
|
options = [
|
|
name: ExMine.Supervisor,
|
|
strategy: :simple_one_for_one
|
|
]
|
|
|
|
Supervisor.start_link(children, options)
|
|
end
|
|
end
|