View Source WalEx.Config (WalEx v4.0.0)

Configuration

Summary

Types

@type start_opts() :: [
  database: binary(),
  hostname: binary(),
  name: binary(),
  password: binary(),
  port: binary(),
  publication: binary(),
  username: binary(),
  webhook_signing_secret: binary(),
  slot_name: binary(),
  durable_slot: boolean(),
  message_middleware: (term(), term() -> :ok),
  event_relay: keyword(),
  modules: [module()],
  subscriptions: [binary()]
]

Functions

Link to this function

add_config(app_name, key, new_values)

View Source
Link to this function

build_module_names(name, modules, subscriptions)

View Source

Returns a specification to start this module under a supervisor.

See Supervisor.

Link to this function

get_configs(app_name, key)

View Source
Link to this function

get_event_modules(app_name)

View Source
Link to this function

has_config?(configs, key)

View Source
Link to this function

map_subscriptions_to_modules(subscriptions, name)

View Source
Link to this function

remove_config(app_name, key, new_value)

View Source
Link to this function

replace_config(app_name, key, new_value)

View Source
@spec start_link(opts :: start_opts()) :: Agent.on_start()
Link to this function

to_module_name(module_name)

View Source