Documentation ¶
Index ¶
- type Generate
- func (i *Generate) ApplyMiddleware(h http.Handler) http.Handler
- func (i *Generate) Authorize(_ http.ResponseWriter, r *http.Request) (authorized bool, modified *http.Request, skipTemplate bool)
- func (i *Generate) Initialize(s server.Server) error
- func (i *Generate) Respond(r *http.Request) (meta hh.TemplateRespMeta, templateData any, wrapperData hh.WrapperData)
- func (i *Generate) TemplateName() string
- func (i *Generate) URLPattern() string
- func (i *Generate) WrapperTemplateName() string
- type GenerateData
- type Index
- func (i *Index) ApplyMiddleware(h http.Handler) http.Handler
- func (i *Index) Authorize(_ http.ResponseWriter, r *http.Request) (authorized bool, modified *http.Request, skipTemplate bool)
- func (i *Index) Initialize(s server.Server) error
- func (i *Index) Respond(req *http.Request) (meta hh.TemplateRespMeta, templateData any, wrapperData hh.WrapperData)
- func (i *Index) TemplateName() string
- func (i *Index) URLPattern() string
- func (i *Index) WrapperTemplateName() string
- type IndexData
- type Inspect
- func (i *Inspect) ApplyMiddleware(h http.Handler) http.Handler
- func (i *Inspect) Authorize(_ http.ResponseWriter, r *http.Request) (authorized bool, modified *http.Request, skipTemplate bool)
- func (i *Inspect) Initialize(s server.Server) error
- func (i *Inspect) Respond(r *http.Request) (meta hh.TemplateRespMeta, templateData any, wrapperData hh.WrapperData)
- func (i *Inspect) TemplateName() string
- func (i *Inspect) URLPattern() string
- func (i *Inspect) WrapperTemplateName() string
- type InspectData
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) Respond ¶
func (i *Generate) Respond(r *http.Request) (meta hh.TemplateRespMeta, templateData any, wrapperData hh.WrapperData)
func (*Generate) TemplateName ¶
func (*Generate) URLPattern ¶
func (*Generate) WrapperTemplateName ¶
type GenerateData ¶
type GenerateData struct {
WrapperData *server.WrapperData
}
type Index ¶
type Index struct {
// contains filtered or unexported fields
}
func (*Index) Respond ¶
func (i *Index) Respond(req *http.Request) (meta hh.TemplateRespMeta, templateData any, wrapperData hh.WrapperData)
func (*Index) TemplateName ¶
func (*Index) URLPattern ¶
func (*Index) WrapperTemplateName ¶
type IndexData ¶
type IndexData struct {
WrapperData *server.WrapperData
}
type Inspect ¶
type Inspect struct {
// contains filtered or unexported fields
}
func (*Inspect) Respond ¶
func (i *Inspect) Respond(r *http.Request) (meta hh.TemplateRespMeta, templateData any, wrapperData hh.WrapperData)
func (*Inspect) TemplateName ¶
func (*Inspect) URLPattern ¶
func (*Inspect) WrapperTemplateName ¶
type InspectData ¶
type InspectData struct {
WrapperData *server.WrapperData
}
Click to show internal directories.
Click to hide internal directories.