aboutsummaryrefslogtreecommitdiff
path: root/lib/exping/supervisor.ex
diff options
context:
space:
mode:
authorkballou <kballou@devnulllabs.io>2016-07-26 12:39:08 -0600
committerkballou <kballou@devnulllabs.io>2016-07-26 12:43:38 -0600
commit2175a2f4d9a416f4a443166a2487c8c12a3df9e2 (patch)
tree4c75ccbca885a3d6341f7184c426f94ebc3cdc62 /lib/exping/supervisor.ex
downloadexping-2175a2f4d9a416f4a443166a2487c8c12a3df9e2.tar.gz
exping-2175a2f4d9a416f4a443166a2487c8c12a3df9e2.tar.xz
ExPing: Initial Commit
Diffstat (limited to 'lib/exping/supervisor.ex')
-rw-r--r--lib/exping/supervisor.ex20
1 files changed, 20 insertions, 0 deletions
diff --git a/lib/exping/supervisor.ex b/lib/exping/supervisor.ex
new file mode 100644
index 0000000..403f35c
--- /dev/null
+++ b/lib/exping/supervisor.ex
@@ -0,0 +1,20 @@
+defmodule ExPing.Supervisor do
+ use Supervisor
+
+ @moduledoc """
+ ExPing Supervision Tree
+ """
+
+ @spec start_link :: {:ok, pid} | {:error, any}
+ def start_link do
+ Supervisor.start_link(__MODULE__, [])
+ end
+
+ @spec init(any) :: no_return
+ def init(_) do
+ children = [
+ ]
+
+ supervise(children, strategy: :one_for_one, name: __MODULE__)
+ end
+end