{"id":13562289,"url":"https://github.com/danielkov/gin-helmet","last_synced_at":"2025-04-18T15:03:08.409Z","repository":{"id":57483860,"uuid":"109817012","full_name":"danielkov/gin-helmet","owner":"danielkov","description":"HTTP Security middleware for GoLang library Gin, inspired by Helmet for Express","archived":false,"fork":false,"pushed_at":"2022-12-21T09:25:20.000Z","size":10,"stargazers_count":42,"open_issues_count":1,"forks_count":4,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-08T22:02:01.441Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/danielkov.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}},"created_at":"2017-11-07T09:53:22.000Z","updated_at":"2024-09-25T08:35:35.000Z","dependencies_parsed_at":"2023-01-30T03:15:21.382Z","dependency_job_id":null,"html_url":"https://github.com/danielkov/gin-helmet","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danielkov%2Fgin-helmet","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danielkov%2Fgin-helmet/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danielkov%2Fgin-helmet/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danielkov%2Fgin-helmet/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/danielkov","download_url":"https://codeload.github.com/danielkov/gin-helmet/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249509182,"owners_count":21283544,"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-08-01T13:01:06.727Z","updated_at":"2025-04-18T15:03:08.390Z","avatar_url":"https://github.com/danielkov.png","language":"Go","funding_links":[],"categories":["Go"],"sub_categories":[],"readme":"# Gin Helmet\n\nSecurity middlewares for Gin (`gin-gonic/gin`) inspired by the popular `helmet` middleware package for Node JS `express` and `koa`.\n___\n[![Build Status](https://travis-ci.org/danielkov/gin-helmet.svg?branch=master)](https://travis-ci.org/danielkov/gin-helmet)\n[![Coverage Status](https://coveralls.io/repos/github/danielkov/gin-helmet/badge.svg?branch=master)](https://coveralls.io/github/danielkov/gin-helmet?branch=master)\n[![Go Report Card](https://goreportcard.com/badge/github.com/danielkov/gin-helmet)](https://goreportcard.com/report/github.com/danielkov/gin-helmet)\n[![godocs](https://img.shields.io/badge/godocs-reference-blue.svg)](https://godoc.org/github.com/danielkov/gin-helmet)\n[![MIT license](http://img.shields.io/badge/license-MIT-brightgreen.svg)](http://opensource.org/licenses/MIT)\n\n## Usage\n\nAdd the `Default` middleware for basic security measures.\n\n```go\ns := gin.New()\ns.Use(helmet.Default())\n```\n\nYou can also add each middleware separately:\n\n```go\ns.Use(helmet.NoCache())\n```\n\nThose not included in the `Default()` middleware are considered more advanced and require consideration before using.\n\nSee the [godoc](https://godoc.org/github.com/danielkov/gin-helmet) for more info and examples.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdanielkov%2Fgin-helmet","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdanielkov%2Fgin-helmet","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdanielkov%2Fgin-helmet/lists"}