Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LoggerWithRequest ¶
LoggerWithRequest assigns informative headers and request details to 'logger'
func ReadUserIP ¶
ReadUserIP returns the value of the 'X-Real-Ip' or 'X-Forwarded-For' headers if present and, if not, returns the default "RemoteAddr" value.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.