forcessl

package module
Version: v0.0.0-...-94b2bd7 Latest Latest
Warning

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

Go to latest
Published: Jan 31, 2020 License: MIT Imports: 2 Imported by: 29

README

mw-forcessl

GoDoc

Requirements
  • Go 1.13+
  • Go Modules
Installation
$ go get github.com/gobuffalo/mw-forcessl/cmd/mw-forcessl

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Middleware

func Middleware(opts secure.Options) buffalo.MiddlewareFunc

Middleware uses the github.com/unrolled/secure package to automatically force a redirect to https from http. See https://github.com/unrolled/secure/ for more details on configuring.

Types

This section is empty.

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL