Astarte.RPC.Config.amqp_connection_host

You're seeing just the function amqp_connection_host, go back to Astarte.RPC.Config module for more information.
Link to this function

amqp_connection_host(namespace \\ nil)

View Source

Specs

amqp_connection_host(Skogsra.Env.namespace()) ::
  {:ok, binary()} | {:error, binary()}

The hostname or IP of the AMQP broker.

Calling Astarte.RPC.Config.amqp_connection_host() will ensure the following:

  • Binding order: [:system, :config]
  • OS environment variable: "RPC_AMQP_CONNECTION_HOST"
  • Type: :binary
  • Default: "localhost"
  • Required: false
  • Cached: true