{"id":66881,"library":"danielkov-gin-helmet","title":"Gin Helmet","description":"Provides security middleware for the Gin web framework, including HTTP header protections.","status":"deprecated","version":"1.0.2","language":"go","source_language":null,"source_url":"https://github.com/danielkov/gin-helmet","tags":["gin","security","middleware","helmet","http-headers"],"install":[{"cmd":"go get github.com/danielkov/gin-helmet","lang":"bash","label":"Install github.com/danielkov/gin-helmet"}],"dependencies":[],"imports":[{"symbol":"ginhelmet","correct":"github.com/danielkov/gin-helmet/ginhelmet"}],"quickstart":{"code":"package main\n\nimport (\n\t\"github.com/gin-gonic/gin\"\n\t\"github.com/danielkov/gin-helmet/ginhelmet\"\n)\n\nfunc main() {\n\tr := gin.Default()\n\tr.Use(ginhelmet.Secure())\n\tr.GET(\"/\", func(c *gin.Context) {\n\t\tc.String(200, \"Hello\")\n\t})\n\tr.Run()\n}","lang":"go","description":"Adds security headers to a Gin router."},"warnings":[{"fix":"Change import path from github.com/danielkov/gin-helmet to github.com/danielkov/gin-helmet/ginhelmet.","message":"This package is deprecated; use github.com/danielkov/gin-helmet/ginhelmet instead.","severity":"breaking","affected_versions":">=1.0.0"}],"env_vars":null,"search_vec":"'framework':10 'gin':1,8,15 'header':13,21 'helmet':2,18 'http':12,20 'http-header':19 'includ':11 'middlewar':5,17 'protect':14 'provid':3 'secur':4,16 'web':9","created_at":"2026-06-17T17:30:12.830465+00:00","updated_at":"2026-06-17T17:30:12.830465+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/danielkov/gin-helmet","github":"https://github.com/danielkov/gin-helmet","docs":"https://pkg.go.dev/github.com/danielkov/gin-helmet#section-documentation","changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["web-framework"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-17","next_check":"2026-12-14","install_tag":null}}