Closed danielealbano closed 1 year ago
Patch coverage: 83.56
% and project coverage change: -0.05
:warning:
Comparison is base (
c97a6a8
) 78.44% compared to head (5ca4501
) 78.39%.:exclamation: Current head 5ca4501 differs from pull request most recent head 5e4d729. Consider uploading reports for the commit 5e4d729 to get more accurate results
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.
This PR reorganize how modules are registered and used in cachegrand to provide a very initial abstractions and allow to start to keep certain kind of functionalities properly isolated internally.
Modules need to call the
module_register
function via a ctor (e.g. withFUNCTION_CTOR
).Modules can currently register for 5 different type, some optional some mandatory of events:
The registration name must match the type of the module in the config file.