controller

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Feb 17, 2021 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Handler

type Handler struct {
	HTML func(ctx *context.Context, panel types.Panel, options ...template.ExecuteOptions)
	// contains filtered or unexported fields
}

func NewHandler

func NewHandler(root *root.Roots, theme string) *Handler

func (*Handler) Prefix

func (h *Handler) Prefix(ctx *context.Context) string

func (*Handler) Update

func (h *Handler) Update(root *root.Roots, theme string)

func (*Handler) View

func (h *Handler) View(ctx *context.Context)

func (*Handler) Write

func (h *Handler) Write(ctx *context.Context)

Jump to

Keyboard shortcuts

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