Back to

Package ui

Latest Go to latest

The latest major version is .

Published: Aug 13, 2020 | License: Apache-2.0 | Module:


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


func InstallHandlers

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

InstallHandlers adds HTTP handlers that render HTML pages.

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.

Package Files

Documentation was rendered with GOOS=linux and GOARCH=amd64.

Jump to identifier

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to identifier