package
0.0.0-20230502161633-00d5bf9aae73
Repository: https://github.com/alpineiq/gserv.git
Documentation: pkg.go.dev
# Functions
ApplyHeaders is a middle to apply a static set of headers to an gserv.Context.
NewAuth returns a new Auth struct with the given keyForUser and the defaults from DefaultAuth.
# Constants
errors.
TokenContextKey is the key used to access the saved token inside an gserv.Context.
# Variables
DefaultAuth has the default values for Auth.
No description provided by the author
https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Strict-Transport-Security.
https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Strict-Transport-Security.
https://googleblog.blogspot.com/2007/07/robots-exclusion-protocol-now-with-even.html.
SimpleHeadersMaps of common headers based on https://rorsecurity.info/portfolio/new-http-headers-for-more-security.
# Type aliases
CookieExtractor implements an Extractor to use auth token from cookies.
No description provided by the author
SHM is a Simple Headers Map.
No description provided by the author
No description provided by the author