Versions in this module Expand all Collapse all v0 v0.1.0 Jan 30, 2023 v0.0.1 Mar 12, 2023 Changes in this version + const CSPHeaderKey + func New(ctx context.Context, next http.Handler, config *Config, name string) (http.Handler, error) + type Config struct + DefaultCSPHeader string + func CreateConfig() *Config + type DefaultCSPHeaderPlugin struct + func (d *DefaultCSPHeaderPlugin) ServeHTTP(w http.ResponseWriter, r *http.Request) + type MyResponseWriter struct + DefaultCSPEntry string + func (m *MyResponseWriter) WriteHeader(statusCode int)