package
0.0.0-20240727104708-c2d1215a6a24
Repository: https://github.com/google/go-safeweb.git
Documentation: pkg.go.dev

# Functions

NewGroup creates a new Group with MaxAge set to DefaultMaxage and all optional values set to their default values.
NewInterceptor instantiates a new Interceptor for the given groups.

# Constants

DefaultMaxAge is used as default cache duration for report groups and will make them last 7 days.
ReportToHeaderKey is the HTTP header key for the Reporting API.

# Structs

Endpoint is the Go representation of the endpoints values as specified in https://www.w3.org/TR/reporting/#endpoints-member.
Group is the Go representation of the Report-To header values as specified in https://www.w3.org/TR/reporting/#header.
Interceptor is the interceptor for the Report-To header.