{"id":15470578,"url":"https://github.com/vanng822/rlimiter","last_synced_at":"2026-03-07T11:06:24.856Z","repository":{"id":57538859,"uuid":"170979737","full_name":"vanng822/rlimiter","owner":"vanng822","description":"Simple redis rate limit for gin framework","archived":false,"fork":false,"pushed_at":"2026-02-23T18:06:56.000Z","size":99,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-02-24T01:40:49.673Z","etag":null,"topics":["gin","rate-limit","rate-limiter","rate-limiting","redis"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/vanng822.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2019-02-16T08:18:13.000Z","updated_at":"2026-02-23T15:56:58.000Z","dependencies_parsed_at":"2025-05-26T19:24:59.126Z","dependency_job_id":"8c0c1d0b-9977-4726-9537-afbc9f8eac11","html_url":"https://github.com/vanng822/rlimiter","commit_stats":{"total_commits":34,"total_committers":3,"mean_commits":"11.333333333333334","dds":0.2647058823529411,"last_synced_commit":"a391829bdd19f178a40abac8393e3ecc5b0f3b5d"},"previous_names":[],"tags_count":10,"template":false,"template_full_name":null,"purl":"pkg:github/vanng822/rlimiter","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vanng822%2Frlimiter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vanng822%2Frlimiter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vanng822%2Frlimiter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vanng822%2Frlimiter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vanng822","download_url":"https://codeload.github.com/vanng822/rlimiter/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vanng822%2Frlimiter/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30212105,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-07T09:02:10.694Z","status":"ssl_error","status_checked_at":"2026-03-07T09:02:08.429Z","response_time":53,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["gin","rate-limit","rate-limiter","rate-limiting","redis"],"created_at":"2024-10-02T02:05:31.789Z","updated_at":"2026-03-07T11:06:24.813Z","avatar_url":"https://github.com/vanng822.png","language":"Go","readme":"# rlimiter\nSimple redis rate limit\n\n# example\n\n```go\n// applied only to endpoint login and POST\ngrbinder.BindVerb(group.Group(\"/login\", rlimiter.GinRateLimit(\n  rlimiter.NewIPRateLimiter(\n    \u0026rlimiter.Rate{Window: 10 * time.Second, Limit: 10},\n    \"api.login\"),\n  []string{\"POST\"})),\n  \u0026loginHandler{})\n\n```\n\n```go\n// Applied to any request method\nlimiter := rlimiter.GinRateLimit(\n  rlimiter.NewIPRateLimiter(\n    \u0026rlimiter.Rate{Window: 1 * time.Minute, Limit: 10},\n    \"api.hardwork\"),\n  []string{})\n\nr := gin.Default()\nr.GET(\"/hardwork\", limiter, func(c *gin.Context) {\n})\nr.POST(\"/hardwork\", limiter, func(c *gin.Context) {\n})\nr.PUT(\"/hardwork\", limiter, func(c *gin.Context) {\n})\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvanng822%2Frlimiter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvanng822%2Frlimiter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvanng822%2Frlimiter/lists"}