handling

package
v0.0.0-...-b197db6 Latest Latest
Warning

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

Go to latest
Published: Dec 5, 2024 License: AGPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LogTemplateError

func LogTemplateError(r *http.Request, err error) error

Types

type Handling

type Handling struct {
	component.Base
	// contains filtered or unexported fields
}

func (*Handling) HTMLInterceptor

func (h *Handling) HTMLInterceptor() httpx.ErrInterceptor

func (*Handling) Redirect

func (h *Handling) Redirect(Handler content.RedirectFunc) http.Handler

func (*Handling) TextInterceptor

func (h *Handling) TextInterceptor() httpx.ErrInterceptor

func (*Handling) WriteHTML

func (h *Handling) WriteHTML(context any, err error, template *template.Template, w http.ResponseWriter, r *http.Request) error

Jump to

Keyboard shortcuts

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