WhiteRabbit.get_rpc_config

You're seeing just the callback get_rpc_config, go back to WhiteRabbit module for more information.
Link to this callback

get_rpc_config()

View Source (optional)

Specs

get_rpc_config() :: WhiteRabbit.RPC.Config.t()

Returns a map of a rpc_config to configure the correct rpc queues and consumers.

Example


# Use callback spec to return %WhiteRabbit.RPC.Config{} struct
@impl true
def get_rpc_config do
  %WhiteRabbit.RPC.Config{
    service_name: "appone",
    connection_name: :appone_rpc_connection
  }
end