prebid

package
v0.0.0-...-f16c7e7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 10, 2018 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetForwardedIP

func GetForwardedIP(r *http.Request) string

GetForwardedIP will return back X-Forwarded-For or X-Real-IP (if set)

func GetIP

func GetIP(r *http.Request) string

GetIP will attempt to get the IP Address by first checking headers and then falling back on the RemoteAddr

func IsSecure

func IsSecure(r *http.Request) bool

IsSecure attempts to detect whether the request is https

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL