View Source Ravix.Connection.Supervisor (ravix v0.0.3)

Supervises and triggers the initialization of a Raven Store

Link to this section Summary

Functions

Returns a specification to start this module under a supervisor.

Fetches the compile time configuration

Initializes the connections supervisor, if the configs are invalid, the supervisor will fail

Fetches runtime configurations and maps them to a initial connection state, validating the configuration.

Link to this section Functions

Returns a specification to start this module under a supervisor.

See Supervisor.

@spec compile_config(keyword()) :: any()

Fetches the compile time configuration

Initializes the connections supervisor, if the configs are invalid, the supervisor will fail

Link to this function

runtime_configs(store, otp_app)

View Source
@spec runtime_configs(any(), atom()) ::
  {:error, list()} | {:ok, Ravix.Connection.State.t()}

Fetches runtime configurations and maps them to a initial connection state, validating the configuration.

Link to this function

start_link(store, otp_app, opts)

View Source