Back to godoc.org
go.ajitem.com/realip

package realip

v1.0.0
Latest Go to latest
Published: Jul 17, 2019 | License: MIT | Module: go.ajitem.com/realip

Index

func FromRequest

func FromRequest(r *http.Request) string

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

func RealIP

func RealIP(r *http.Request) string

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

Deprecated: 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