Package userip provides functions for extracting a user IP address from a request and associating it with a Context.
This package is an example to accompany https://blog.golang.org/context. It is not intended for use by others.
FromContext extracts the user IP address from ctx, if present.
FromRequest extracts the user IP address from req, if present.
NewContext returns a new Context carrying userIP.