Documentation ¶
Overview ¶
Package reqlog logs incoming request URL and browser fingerprints.
Index ¶
Constants ¶
const FingerprintExplanation = `` /* 531-byte string literal not displayed */
FingerprintExplanation provides a description of the logged HTTP headers.
Variables ¶
This section is empty.
Functions ¶
func IPMethodURLFingerprint ¶ added in v0.6.0
IPMethodURLFingerprint extends LogReqIPAndURL by logging browser fingerprints. Attention! When fingerprinting is used to identify users, it is part of the personal data and must comply with GDPR. In that case, the website must have a legitimate reason to do so. Before enabling the fingerprinting, the user must understand it and give their freely-given informed consent such as the settings change from “no” to “yes”.
func LogIPMethodURL ¶ added in v0.6.0
LogIPMethodURL logs the requester IP and the requested URL.
func LogRequests ¶
LogRequests is the middleware to log the incoming HTTP requests.
Types ¶
This section is empty.