FeatureFlipper.ConfigLoader (feature_flipper v0.1.1)

Handles loading and caching of feature flipper configuration from Consul.

Summary

Functions

Get all feature flags and their current values.

Initialize the ConfigLoader with configuration.

Register flippers from a definition module.

Reload configuration from Consul.

Functions

get_all_flags()

Get all feature flags and their current values.

get_flipper_value(flipper_name, consul_key \\ nil, metadata \\ %{})

Get the value of a feature flipper.

init()

Initialize the ConfigLoader with configuration.

register_flippers(flippers)

Register flippers from a definition module.

reload_configuration()

Reload configuration from Consul.