View Source WhiteRabbit.RPC (White Rabbit v0.2.0)
RPC module that handles decoding, encoding, and processing of RPC calls.
Start Setup
Pass the WhiteRabbit rpc_enabled: true
option as well as the config map via the rpc_config
option.
Use the optional WhiteRabbit callback: WhiteRabbit.get_rpc_config()
to output correct format.
Example Calls
iex> AppFour.WhiteRabbit.rpc_call(:appone, {AppOne.Utils, :get_versions, []})
Link to this section Summary
Types
Service that a rpc call will be sent to.
Link to this section Types
@type service_rpc() :: String.t()
Service that a rpc call will be sent to.
Ex: "appone"