Back to

package ui

v0.0.0 (a0dfb95)
Latest Go to latest
Published: 1 hour ago | 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.

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

Jump to identifier

Keyboard shortcuts

? : This menu
f or F : Jump to identifier