{"id":20760382,"url":"https://github.com/vanng822/gin-csrf","last_synced_at":"2026-05-12T22:01:52.457Z","repository":{"id":57503367,"uuid":"66487211","full_name":"vanng822/gin-csrf","owner":"vanng822","description":"Cookie-to-header csrf for gin","archived":false,"fork":false,"pushed_at":"2025-03-01T20:42:16.000Z","size":44,"stargazers_count":6,"open_issues_count":0,"forks_count":2,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-04-30T05:48:10.640Z","etag":null,"topics":[],"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}},"created_at":"2016-08-24T18:00:02.000Z","updated_at":"2025-04-05T19:37:17.000Z","dependencies_parsed_at":"2024-05-11T01:00:54.126Z","dependency_job_id":null,"html_url":"https://github.com/vanng822/gin-csrf","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vanng822%2Fgin-csrf","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vanng822%2Fgin-csrf/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vanng822%2Fgin-csrf/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vanng822%2Fgin-csrf/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vanng822","download_url":"https://codeload.github.com/vanng822/gin-csrf/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251651220,"owners_count":21621702,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":[],"created_at":"2024-11-17T10:13:24.164Z","updated_at":"2026-05-12T22:01:47.416Z","avatar_url":"https://github.com/vanng822.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# gin-csrf\nCookie-to-header csrf for gin with max usage feature. Using this package in conjunction with session. Cookie is only the transport.\n\n# Usage\n```go\nrouter := gin.Default()\noptions := csrf.DefaultOptions()\noptions.MaxUsage = 10\noptions.MaxAge = 15 * 60\nrouter.Use(csrf.Csrf(options))\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvanng822%2Fgin-csrf","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvanng822%2Fgin-csrf","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvanng822%2Fgin-csrf/lists"}