Current section
Files
Jump to
Current section
Files
lib/hedwig_mattermost.ex
defmodule HedwigMattermost do
use Application
def start(_type, _args) do
import Supervisor.Spec, warn: false
children = [
supervisor(HedwigMattermost.Connection.Supervisor, [])
]
opts = [strategy: :one_for_one, name: HedwigMattermost.Supervisor]
Supervisor.start_link(children, opts)
end
end