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