Flippant.Adapter.Redis (Flippant v2.0.0) View Source

This module provides Redis backed rule storage.

Link to this section Summary

Functions

Returns a specification to start this module under a supervisor.

Callback implementation for GenServer.init/1.

Starts the Redis adapter.

Link to this section Functions

Returns a specification to start this module under a supervisor.

See Supervisor.

Callback implementation for GenServer.init/1.

Starts the Redis adapter.

Options

  • :redis_opts - Options that can be passed to Redix, the underlying library used to connect to Redis. Defaults to [].
  • :set_key - The Redis key where rules will be stored. Defaults to "flippant-features".