Back to godoc.org
github.com/tomasen/realip

package realip

v0.0.0 (f0c99a9)
Latest Go to latest
Published: May 22, 2018 | License: MIT | Module: github.com/tomasen/realip

Index

func FromRequest

func FromRequest(r *http.Request) string

FromRequest return client's real public IP address from http request headers.

func RealIP

func RealIP(r *http.Request) string

RealIP is depreciated, use FromRequest instead

Documentation was rendered with GOOS=linux and GOARCH=amd64.

Jump to identifier

Keyboard shortcuts

? : This menu
f or F : Jump to identifier