defmodule Grazer do
  use Supervisor

  def start_link(opts \\ []) do
    Supervisor.start_link(__MODULE__, :ok, opts ++ [name: __MODULE__])
  end

  @impl true
  def init(:ok) do
    children = [
      Grazer.UI,
      Grazer.Net,
    ]

    Supervisor.init(children, strategy: :one_for_one)
  end
end