defmodule BackendWeb.ClusterStatusChannel do @moduledoc """ Channel for cluster status information """ use BackendWeb, :channel require Logger @impl true def join("clusterstatus", _params, socket) do Logger.info("Client joined clusterstatus channel") {:ok, %{status: "connected"}, socket} end @impl true def handle_in(_event, _payload, socket) do {:noreply, socket} end end