Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Csrf ¶
func Csrf(fn http.HandlerFunc) http.HandlerFunc
Csrf checks for the CSRF prevention header and compares the origin header
func HttpRequestLogger ¶
func HttpRequestLogger(handlerFunc http.HandlerFunc) http.HandlerFunc
Types ¶
type HTTPReqInfo ¶
type HTTPReqInfo struct {
// contains filtered or unexported fields
}
HTTPReqInfo describes info about HTTP request
Click to show internal directories.
Click to hide internal directories.