Bonfire.UI.Common.RateLimit (Bonfire v1.0.1-social-alpha.28)

View Source

Rate limiter for Bonfire using Hammer 7.x with ETS backend.

Provides rate limiting for form submissions and other user actions to protect against abuse.

Summary

Functions

child_spec(opts)

get(key, scale)

Callback implementation for Hammer.get/2.

hit(key, scale, limit, increment \\ 1)

Callback implementation for Hammer.hit/4.

inc(key, scale, increment \\ 1)

Callback implementation for Hammer.inc/3.

set(key, scale, count)

Callback implementation for Hammer.set/3.

start_link(opts)