View Source Charon.SessionStore.RedisStore.Config (Charon v1.3.4)

Config module for Charon.SessionStore.RedisStore.

Link to this section Summary

Functions

Build config struct from enumerable (useful for passing in application environment). Raises for missing mandatory keys and sets defaults for optional keys.

Link to this section Types

@type t() :: %Charon.SessionStore.RedisStore.Config{
  key_prefix: String.t(),
  redix_module: module()
}

Link to this section Functions

@spec from_enum(Enum.t()) :: t()

Build config struct from enumerable (useful for passing in application environment). Raises for missing mandatory keys and sets defaults for optional keys.