View Source cfclient_retrieve (cfclient v1.2.0)

Funcctions to pull feature and target configuration from server via the API.

Link to this section Summary

Functions

Retrieve all features from Feature Flags API.
Retrieve all segments from Feature Flags API.

Link to this section Types

Link to this section Functions

-spec retrieve_flags(config()) -> {ok, [flag()]} | {error, Reason :: term()}.
Retrieve all features from Feature Flags API.
Link to this function

retrieve_segments(Config)

View Source
-spec retrieve_segments(config()) -> {ok, [segment()]} | {error, Reason :: term()}.
Retrieve all segments from Feature Flags API.