template

package
v0.0.0-...-5e8511f Latest Latest
Warning

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

Go to latest
Published: Feb 15, 2023 License: AGPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AttachTemplateData

func AttachTemplateData(ctx context.Context, data interface{}) context.Context

Types

type NavbarData struct {
	Admin bool
}

type TemplateHandler

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

func NewHandler

func NewHandler(assets fs.FS, apps, plugins []string) (out *TemplateHandler, err error)

func (*TemplateHandler) ServeHTTP

func (t *TemplateHandler) 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