Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
Functions ¶
func VerifySignature ¶
Types ¶
type ContentSecurityHeader ¶
func ParseContentSecurity ¶
func ParseContentSecurity(decrypters map[string]codec.RsaDecrypter, r *http.Request) ( *ContentSecurityHeader, error)
func (*ContentSecurityHeader) Encrypted ¶
func (h *ContentSecurityHeader) Encrypted() bool
type WithCodeResponseWriter ¶
type WithCodeResponseWriter struct { Writer http.ResponseWriter Code int }
func (*WithCodeResponseWriter) Header ¶
func (w *WithCodeResponseWriter) Header() http.Header
func (*WithCodeResponseWriter) Write ¶
func (w *WithCodeResponseWriter) Write(bytes []byte) (int, error)
func (*WithCodeResponseWriter) WriteHeader ¶
func (w *WithCodeResponseWriter) WriteHeader(code int)
Click to show internal directories.
Click to hide internal directories.