//
pkg.gl
Category
github.com/google/go-safeweb
safehttp
plugins
collector
package
0.0.0-20240727104708-c2d1215a6a24
Repository:
https://github.com/google/go-safeweb.git
Documentation:
pkg.go.dev
Overview
Versions
1
Dependencies
3
Dependents
0
Files
239 SLOC
#
Functions
Handler
Handler builds a safehttp.Handler which calls the given handler or cspHandler when a violation report is received.
#
Structs
CSPReport
CSPReport represents a CSP violation report as specified by https://www.w3.org/TR/CSP3/#deprecated-serialize-violation.
Report
Report represents a generic report as specified by https://w3c.github.io/reporting/#serialize-reports.