botschaft icon indicating copy to clipboard operation
botschaft copied to clipboard

provider middleware

Open tmkontra opened this issue 2 years ago • 0 comments

  • the provider module provides a framework which require each provider implementation module to only implement the handle_call for message sending
  • there is still code duplication for fetching the destination config, and returning the result (and dispatching metrics)
  • the duplication can be eliminated and the GenServer aspect totally abstracted by requiring providers to only implement a send_message callback, supplied with the fully parsed destination config

tmkontra avatar Aug 10 '23 04:08 tmkontra