View Source LoggerSentry.RateLimiter.Strategy (logger_sentry v0.8.0-rc3)

A struct holding common data for rate-limiting strategies. The module must be the name of a module that conforms to the LoggerSentry.RateLimiter behaviour. The state may be used however the module sees fit.

Link to this section Summary

Link to this section Types

Specs

t() :: %LoggerSentry.RateLimiter.Strategy{module: atom(), state: any()}

Link to this section Functions

Specs

new(atom(), any()) :: t()