Debian Codegraph @

debian/control

raw
1 Source: golang-github-gorilla-csrf
2 Maintainer: Debian Go Packaging Team <[email protected]>
3 Uploaders: Anthony Fok <[email protected]>,
4 Section: golang
5 Testsuite: autopkgtest-pkg-go
6 Build-Depends: debhelper-compat (= 13),
7 dh-sequence-golang,
8 golang-any (>= 2:1.20~),
9 golang-github-gorilla-securecookie-dev (>= 1.1.2),
10 Standards-Version: 4.7.0
11 Vcs-Browser: https://salsa.debian.org/go-team/packages/golang-github-gorilla-csrf
12 Vcs-Git: https://salsa.debian.org/go-team/packages/golang-github-gorilla-csrf.git
13 Homepage: https://github.com/gorilla/csrf
14 Rules-Requires-Root: no
15 XS-Go-Import-Path: github.com/gorilla/csrf
16
17 Package: golang-github-gorilla-csrf-dev
18 Architecture: all
19 Multi-Arch: foreign
20 Depends: golang-github-gorilla-securecookie-dev (>= 1.1.2),
21 ${misc:Depends},
22 Description: Cross Site Request Forgery (CSRF) prevention middleware for Go
23 gorilla/csrf is a HTTP middleware library that provides cross-site request
24 forgery (CSRF) protection. It includes:
25 .
26 * The csrf.Protect middleware/handler provides CSRF protection on routes
27 attached to a router or a sub-router.
28 * A csrf.Token function that provides the token to pass into your response,
29 whether that be a HTML form or a JSON response body.
30 * ... and a csrf.TemplateField helper that you can pass into your
31 html/template templates to replace a {{ .csrfField }} template tag
32 with a hidden input field.
33 .
34 gorilla/csrf is designed to work with any Go web framework, including:
35 .
36 * The Gorilla toolkit
37 * Go's built-in net/http package
38 * Goji - see the tailored fork https://github.com/goji/csrf
39 * Gin
40 * Echo
41 * ... and any other router/framework that rallies around Go's http.Handler
42 interface.
43 .
44 gorilla/csrf is also compatible with middleware 'helper' libraries
45 like Alice and Negroni.