redirect

package
v1.7.2 Latest Latest
Warning

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

Go to latest
Published: Aug 2, 2022 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Component = &Redirect{}

Functions

This section is empty.

Types

type Redirect

type Redirect struct{}

func (*Redirect) Handler

func (red *Redirect) Handler(handler http.HandlerFunc) http.HandlerFunc

func (*Redirect) NeedHandler

func (red *Redirect) NeedHandler() bool

func (*Redirect) Start

func (red *Redirect) Start()

func (*Redirect) StartHost added in v1.5.1

func (red *Redirect) StartHost(host *config.Host)

Jump to

Keyboard shortcuts

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