blob: cb866e9078553f3011a5eb1096646c103957309e (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
defmodule Irc.Application do
@moduledoc false
use Application
def start(_type, _args) do
children = [
{Irc.STS, []}
]
++ Irc.Store.childs()
opts = [strategy: :one_for_one, name: Irc.Supervisor]
Supervisor.start_link(children, opts)
end
end
|