PacketFlow.Intent.Plugin.RoutingStrategy behaviour (packetflow v0.1.0)

Behaviour for custom routing strategies

Summary

Callbacks

route(any, list)

@callback route(any(), list()) :: {:ok, any()} | {:error, any()}

strategy_type()

@callback strategy_type() :: atom()

targets()

@callback targets() :: list()