Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
17 lines (13 sloc) 318 Bytes
defmodule Phlink.Cache.Supervisor do
use Supervisor
def start_link do
Supervisor.start_link(__MODULE__, [])
end
def init([]) do
children = [
worker(Phlink.Cache.Mapper, []),
supervisor(Phlink.Cache.UrlCacheSupervisor, [])
]
supervise(children, strategy: :rest_for_one)
end
end