handlers

package
v1.0.5 Latest Latest
Warning

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

Go to latest
Published: Sep 20, 2023 License: GPL-3.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Redirect

func Redirect(w http.ResponseWriter, r *http.Request)

Types

type AssetsHandler

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

func NewAssetsHandler

func NewAssetsHandler(log *logrus.Logger) *AssetsHandler

func (*AssetsHandler) Assets

func (ah *AssetsHandler) Assets(w http.ResponseWriter, r *http.Request)

type PagesHandler

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

func NewPagesHandler

func NewPagesHandler(log *logrus.Logger, config *config.Config, cache *cache.Cache) *PagesHandler

func (*PagesHandler) Pages

func (p *PagesHandler) Pages(w http.ResponseWriter, r *http.Request)

type RobotsHandler

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

func NewRobotsHandler

func NewRobotsHandler(log *logrus.Logger) *RobotsHandler

func (*RobotsHandler) Robots

func (rh *RobotsHandler) Robots(w http.ResponseWriter, r *http.Request)

Jump to

Keyboard shortcuts

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