Parrhesia.Storage
(parrhesia v0.12.0)
Copy Markdown
Storage boundary entrypoint.
Domain/runtime code should resolve behavior modules through this module instead of depending on concrete adapter implementations directly.
Each accessor validates that the configured module is loaded and declares the expected behaviour before returning it.
Summary
Functions
@spec acl() :: module()
Returns the configured ACL storage module.
@spec admin() :: module()
Returns the configured admin storage module.
@spec events() :: module()
Returns the configured events storage module.
@spec groups() :: module()
Returns the configured groups storage module.
@spec moderation() :: module()
Returns the configured moderation storage module.