MscmpSystLimiter.Types (mscmp_syst_limiter v0.1.0)

Defines public types for use with the MscmpSystLimiter module.

Summary

Types

A unique identifier for the specific counter within the requested counter type.

The name of the counter which is derived from the counter type and counter id values.

The type of value expected for the table which holds the counters.

The kind of activity being rate limited.

Types

Link to this type

counter_id()

@type counter_id() :: String.t()

A unique identifier for the specific counter within the requested counter type.

Link to this type

counter_name()

@type counter_name() :: String.t()

The name of the counter which is derived from the counter type and counter id values.

Link to this type

counter_table_name()

@type counter_table_name() :: atom()

The type of value expected for the table which holds the counters.

Link to this type

counter_type()

@type counter_type() :: atom()

The kind of activity being rate limited.

For example, a counter type might be :login_attempt.