routing

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Nov 2, 2023 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type HTTPToHTTPSConfig

type HTTPToHTTPSConfig struct {
	// contains filtered or unexported fields
}

func NewHTTPtoHTTPS

func NewHTTPtoHTTPS() *HTTPToHTTPSConfig

NewHTTPtoHTTPS configures the server to redirect HTTP calls to HTTPS.

func (*HTTPToHTTPSConfig) Apply

func (config *HTTPToHTTPSConfig) Apply(app *govalin.App)

func (*HTTPToHTTPSConfig) Name

func (config *HTTPToHTTPSConfig) Name() string

func (*HTTPToHTTPSConfig) OnInit

func (config *HTTPToHTTPSConfig) OnInit(_ *govalin.Config)

func (*HTTPToHTTPSConfig) RedirectLocalHost

func (config *HTTPToHTTPSConfig) RedirectLocalHost(shouldRedirect bool) *HTTPToHTTPSConfig

Jump to

Keyboard shortcuts

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