Skip to content

🤗 [Question]: limiter supports dynamic setting of “Max” parameter #3065

@zhangyongding

Description

@zhangyongding

Question Description

limiter only supports setting a fixed max value. Can a function be used to obtain a max value
example:

func(c *fiber.Ctx) int 
or
func(key string) int

Code Snippet (optional)

No response

Checklist:

  • I agree to follow Fiber's Code of Conduct.
  • I have checked for existing issues that describe my questions prior to opening this one.
  • I understand that improperly formatted questions may be closed without explanation.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions