Instream v0.18.0 Instream.Connection.Config View Source

Configuration helper module.

Link to this section Summary

Functions

Retrieves the compile time part of the connection configuration

Retrieves the runtime connection configuration for conn in otp_app

Validates a connection configuration and raises if an error exists

Link to this section Functions

Link to this function compile_time(otp_app, conn) View Source
compile_time(atom(), module()) :: Keyword.t()

Retrieves the compile time part of the connection configuration.

Link to this function runtime(otp_app, conn, keys) View Source
runtime(atom(), module(), nil | [term(), ...]) :: Keyword.t()

Retrieves the runtime connection configuration for conn in otp_app.

Link to this function validate!(otp_app, conn) View Source
validate!(atom(), module()) :: no_return()

Validates a connection configuration and raises if an error exists.