{"id":53144,"library":"ulule-limiter-v3","title":"Ulule Limiter v3","description":"Rate limiting middleware for HTTP applications with support for various storage backends.","status":"active","version":"3.11.2","language":"go","source_language":null,"source_url":"https://github.com/ulule/limiter","tags":["rate-limiting","middleware","http","throttling"],"install":[{"cmd":"go get github.com/ulule/limiter/v3","lang":"bash","label":"Install github.com/ulule/limiter/v3"}],"dependencies":[],"imports":[{"symbol":"limiter","correct":"github.com/ulule/limiter/v3"}],"quickstart":{"code":"package main\n\nimport (\n\t\"net/http\"\n\t\"github.com/ulule/limiter/v3\"\n\t\"github.com/ulule/limiter/v3/drivers/store/memory\"\n)\n\nfunc main() {\n\trate := limiter.Rate{\n\t\tPeriod: 1 * time.Second,\n\t\tLimit:  10,\n\t}\n\tstore := memory.NewStore()\n\tinstance := limiter.New(store, rate)\n\thttp.HandleFunc(\"/\", func(w http.ResponseWriter, r *http.Request) {\n\t\tctx, err := instance.Get(r.Context(), r.RemoteAddr)\n\t\tif err != nil {\n\t\t\thttp.Error(w, err.Error(), http.StatusInternalServerError)\n\t\t\treturn\n\t\t}\n\t\tif ctx.Reached {\n\t\t\thttp.Error(w, \"Rate limit exceeded\", http.StatusTooManyRequests)\n\t\t\treturn\n\t\t}\n\t\tw.Write([]byte(\"OK\"))\n\t})\n\thttp.ListenAndServe(\":8080\", nil)\n}","lang":"go","description":"Rate limit HTTP requests using in-memory store"},"warnings":[],"env_vars":null,"search_vec":"'applic':9 'backend':15 'http':8,20 'limit':2,5,18 'middlewar':6,19 'rate':4,17 'rate-limit':16 'storag':14 'support':11 'throttl':21 'ulul':1 'v3':3 'various':13","created_at":"2026-06-15T07:29:00.440463+00:00","updated_at":"2026-06-15T07:29:00.440463+00:00","problems":[],"ecosystem":"go","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":"https://github.com/ulule/limiter","github":"https://github.com/ulule/limiter","docs":"https://pkg.go.dev/github.com/ulule/limiter/v3#section-documentation","changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["web-framework","utility"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-15","next_check":"2026-12-12","install_tag":null}}