Created
September 13, 2018 09:40
-
-
Save KamilLelonek/c093f5e2776fbc97db2da2faae2c5d5c to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
defmodule MinimalServer.Application do | |
use Application | |
def start(_type, _args), | |
do: Supervisor.start_link(children(), opts()) | |
defp children do | |
[] | |
end | |
defp opts do | |
[ | |
strategy: :one_for_one, | |
name: MinimalServer.Supervisor | |
] | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment