csp

package
v0.0.0-...-44e12ef Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 30, 2024 License: BSD-2-Clause Imports: 6 Imported by: 0

Documentation

Overview

Package csp implements loading of Content-Security-Policy definitions

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Directives

type Directives string

func Load

func Load(filename string) (d Directives, err error)

Load loads an CSP definition from the file and returns it.

func (Directives) String

func (d Directives) String() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL