Current section
Files
Jump to
Current section
Files
lib/herd/discovery.ex
defmodule Herd.Discovery do
@moduledoc """
Behaviour for implementing service discovery on a given cluster. This
will be polled regularly to keep the cluster's state in sync
"""
@doc """
Return the node list
"""
@callback nodes() :: [Herd.Router.herd_node]
end