BlogEngine.Context (blog_engine v0.1.0)

Copy Markdown View Source

Runtime dependencies and tenant identity for a BlogEngine operation.

Summary

Functions

Builds a context from explicit options and package configuration.

Types

t()

@type t() :: %BlogEngine.Context{
  actor: map() | nil,
  authorization_scope: map() | nil,
  authorizer: module(),
  clock: module(),
  notifier: module(),
  prefix: String.t(),
  repo: module(),
  route_registry: module(),
  tenant_key: String.t()
}

Functions

new(opts \\ [])

@spec new(keyword()) :: t()

Builds a context from explicit options and package configuration.