riverside v1.0.1 Riverside.Config

Helper for config data

Link to this section Summary

Functions

Ensure passed module is compiled already. Or else, this function raise an error

Load handler’s configuration

Pick the TransmissionLimitter’s parameters from Handlers configuration

Link to this section Functions

Link to this function ensure_module_loaded(module)
ensure_module_loaded(module) :: :ok

Ensure passed module is compiled already. Or else, this function raise an error.

Link to this function load(handler, opts)
load(module, any) :: any

Load handler’s configuration.

Link to this function transmission_limit(config)
transmission_limit(any) :: keyword

Pick the TransmissionLimitter’s parameters from Handlers configuration.