Extreme.Configuration (extreme v1.1.2)

View Source

Set of functions for retrieving configuration value with correct type

Summary

Functions

Returns :connection_name from configuration as binary. If one is not specified defaults to "Extreme".

Returns credentials part of EventStore request based on :username and :password fields in configuration. In any of those is not specified raises exception.

Functions

get_connection_name(configuration)

Returns :connection_name from configuration as binary. If one is not specified defaults to "Extreme".

get_node(configuration)

prepare_credentials(configuration)

Returns credentials part of EventStore request based on :username and :password fields in configuration. In any of those is not specified raises exception.