template

package
v0.0.0-...-df24421 Latest Latest
Warning

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

Go to latest
Published: Jan 16, 2025 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Generate

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

func (*Generate) ApplyMiddleware

func (i *Generate) ApplyMiddleware(h http.Handler) http.Handler

func (*Generate) Authorize

func (i *Generate) Authorize(_ http.ResponseWriter, r *http.Request) (authorized bool, modified *http.Request, skipTemplate bool)

func (*Generate) Initialize

func (i *Generate) Initialize(s server.Server) error

func (*Generate) Respond

func (i *Generate) Respond(r *http.Request) (meta hh.TemplateRespMeta, templateData any, wrapperData hh.WrapperData)

func (*Generate) TemplateName

func (i *Generate) TemplateName() string

func (*Generate) URLPattern

func (i *Generate) URLPattern() string

func (*Generate) WrapperTemplateName

func (i *Generate) WrapperTemplateName() string

type GenerateData

type GenerateData struct {
	WrapperData *server.WrapperData
}

type Index

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

func (*Index) ApplyMiddleware

func (i *Index) ApplyMiddleware(h http.Handler) http.Handler

func (*Index) Authorize

func (i *Index) Authorize(_ http.ResponseWriter, r *http.Request) (authorized bool, modified *http.Request, skipTemplate bool)

func (*Index) Initialize

func (i *Index) Initialize(s server.Server) error

func (*Index) Respond

func (i *Index) Respond(req *http.Request) (meta hh.TemplateRespMeta, templateData any, wrapperData hh.WrapperData)

func (*Index) TemplateName

func (i *Index) TemplateName() string

func (*Index) URLPattern

func (i *Index) URLPattern() string

func (*Index) WrapperTemplateName

func (i *Index) WrapperTemplateName() string

type IndexData

type IndexData struct {
	WrapperData *server.WrapperData
}

type Inspect

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

func (*Inspect) ApplyMiddleware

func (i *Inspect) ApplyMiddleware(h http.Handler) http.Handler

func (*Inspect) Authorize

func (i *Inspect) Authorize(_ http.ResponseWriter, r *http.Request) (authorized bool, modified *http.Request, skipTemplate bool)

func (*Inspect) Initialize

func (i *Inspect) Initialize(s server.Server) error

func (*Inspect) Respond

func (i *Inspect) Respond(r *http.Request) (meta hh.TemplateRespMeta, templateData any, wrapperData hh.WrapperData)

func (*Inspect) TemplateName

func (i *Inspect) TemplateName() string

func (*Inspect) URLPattern

func (i *Inspect) URLPattern() string

func (*Inspect) WrapperTemplateName

func (i *Inspect) WrapperTemplateName() string

type InspectData

type InspectData struct {
	WrapperData *server.WrapperData
}

Jump to

Keyboard shortcuts

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