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

Returns the configured ACL storage module.

Returns the configured admin storage module.

Returns the configured events storage module.

Returns the configured groups storage module.

Returns the configured moderation storage module.

Functions

acl()

@spec acl() :: module()

Returns the configured ACL storage module.

admin()

@spec admin() :: module()

Returns the configured admin storage module.

events()

@spec events() :: module()

Returns the configured events storage module.

groups()

@spec groups() :: module()

Returns the configured groups storage module.

moderation()

@spec moderation() :: module()

Returns the configured moderation storage module.