The Wayback Machine - https://web.archive.org/web/20210921015736/https://github.com/topics/labstack-echo
Skip to content
#

labstack-echo

Here are 17 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

pafuent
pafuent commented Dec 15, 2020

Add documentation about how to bind multiple instances of the same query parameter to a slice.
Use this UT as a reference (if it is possible make a more real example than this 😉)

func TestBindSlices(t *testing.T) {
	e := New()
	req := httptest.NewRequest(GET, "/?str=foo&str=bar&str=foobar", nil)
	rec := httptest.NewRecorder()
	c := e.NewContext(req, rec)
	result := struct {
	

Improve this page

Add a description, image, and links to the labstack-echo 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 labstack-echo topic, visit your repo's landing page and select "manage topics."

Learn more