Documentation ¶
Overview ¶
Package userip provides functions for extracting a user IP address from a request and associating it with a Context.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FromContext ¶
FromContext extracts the user IP address from ctx, if present.
func FromRequest ¶
FromRequest extracts the user IP address from req, if present.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.