全部搜索项
bullseye  ] [  bookworm  ] [  bookworm-backports  ] [  trixie  ] [  sid  ]
[ 源代码: golang-github-gorilla-csrf  ]

软件包:golang-github-gorilla-csrf-dev(1.6.2-2)

golang-github-gorilla-csrf-dev 的相关链接

Screenshot

Debian 的资源:

下载源码包 golang-github-gorilla-csrf

维护小组:

外部的资源:

相似软件包:

Cross Site Request Forgery (CSRF) prevention middleware for Go

gorilla/csrf is a HTTP middleware library that provides cross-site request forgery (CSRF) protection. It includes:

 * The csrf.Protect middleware/handler provides CSRF protection on routes
   attached to a router or a sub-router.
 * A csrf.Token function that provides the token to pass into your response,
   whether that be a HTML form or a JSON response body.
 * ... and a csrf.TemplateField helper that you can pass into your
   html/template templates to replace a {{ .csrfField }} template tag
   with a hidden input field.

gorilla/csrf is designed to work with any Go web framework, including:

 * The Gorilla toolkit
 * Go's built-in net/http package
 * Goji - see the tailored fork https://github.com/goji/csrf
 * Gin
 * Echo
 * ... and any other router/framework that rallies around Go's http.Handler
   interface.

gorilla/csrf is also compatible with middleware 'helper' libraries like Alice and Negroni.

其他与 golang-github-gorilla-csrf-dev 有关的软件包

  • 依赖
  • 推荐
  • 建议
  • 增强

下载 golang-github-gorilla-csrf-dev

下载可用于所有硬件架构的
硬件架构 软件包大小 安装后大小 文件
all 16.8 kB81.0 kB [文件列表]