Skip to content
#

micro-framework

Here are 321 public repositories matching this topic...

aschiffmann
aschiffmann commented Apr 21, 2021

Checklist

  • Dependencies installed
  • No typos
  • Searched existing issues and docs

Issue Description

When using the RateLimiter Middleware with a rate between 0 and 1 all events will be rejected instead of applying the specified rate. E.g.: e.Use(middleware.RateLimiter(middleware.NewRateLimiterMemoryStore(0.5)))

I am not saying that it is a common use case to have

ikhoon
ikhoon commented Jun 3, 2022

A failed HttpResponse can be converted into a normal HttpResponse using HttpResponse.recover(...).
For example:

HttpResponse failed = HttpResponse.ofFailure(new IllegalArgumentException("..."));
failed.recover(cause -> {
   if (cause instanceof IllegalArgumentException) {
       return HttpResponse.of(HttpStatus.BAD_REQUEST);
   }

   if (cause instanceof IllegalStateExcepti
hexagon
jaguililla
jaguililla commented Mar 19, 2021

IMPORTANT: Version 2 will have very deep changes, so some modules will be completely rewritten, it is safe to work on hexagon_core for this task, but for other modules, please contact me first.

The code has hidden tasks, lingering among the source files... Waiting for someone to tackle them.

Would you be the brave developer to finish them?

This issue is an everlasting effort to clean th

help wanted good first issue

Improve this page

Add a description, image, and links to the micro-framework topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the micro-framework topic, visit your repo's landing page and select "manage topics."

Learn more