ui

package
Version: v0.0.0-...-927c308 Latest Latest
Warning

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

Go to latest
Published: Aug 4, 2021 License: Apache-2.0 Imports: 39 Imported by: 0

Documentation

Overview

Package ui implements request handlers that serve user facing HTML pages.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InstallHandlers

func InstallHandlers(r *router.Router, base router.MiddlewareChain, cfg Config)

InstallHandlers adds HTTP handlers that render HTML pages.

Types

type Config

type Config struct {
	Engine        engine.Engine
	Catalog       catalog.Catalog
	TemplatesPath string // path to templates directory deployed to GAE
}

Config is global configuration of UI handlers.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto