redirectcontinue

package
v0.7.3 Latest Latest
Warning

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

Go to latest
Published: Sep 13, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Redirect

type Redirect struct {
	Regex       string `cfg:"regex"`
	Replacement string `cfg:"replacement"`
	// contains filtered or unexported fields
}

type RedirectionContinue

type RedirectionContinue struct {
	Redirects []Redirect `cfg:"redirects"`

	Permanent bool `cfg:"permanent"`
}

func (*RedirectionContinue) Middleware

func (m *RedirectionContinue) Middleware() (echo.MiddlewareFunc, error)

Jump to

Keyboard shortcuts

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