request

package
v0.1.0-beta-005 Latest Latest
Warning

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

Go to latest
Published: Oct 30, 2020 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FullURL

func FullURL(r *http.Request) string

FullURL returns the request's full URL.

func HTTPSURL

func HTTPSURL(r *http.Request) string

HTTPSURL returns the request's full URL with https:// regardless of the original scheme.

func IsHTTPS

func IsHTTPS(r *http.Request) bool

IsHTTPS checks if a request object is HTTPS or not.

Types

This section is empty.

Jump to

Keyboard shortcuts

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