rrhandler

package
v0.0.0-...-442774c Latest Latest
Warning

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

Go to latest
Published: Sep 4, 2020 License: MIT Imports: 6 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RequestRenderHandler

type RequestRenderHandler struct {
	RootDir                  string
	RenderOrNotFoundDisabled bool
	Render                   http_render.Render
	RenderFunc               func(w http.ResponseWriter, r *http.Request) http_render.Render
	RenderFailed             func(w http.ResponseWriter, r *http.Request, render *http_render.Render, err error)
}

func (*RequestRenderHandler) GetOrCreateRender

func (this *RequestRenderHandler) GetOrCreateRender() http_render.Render

func (*RequestRenderHandler) ServeHTTP

func (this *RequestRenderHandler) ServeHTTP(w http.ResponseWriter, r *http.Request)

Jump to

Keyboard shortcuts

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