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
Click to show internal directories.
Click to hide internal directories.