Back to godoc.org

Package ui

v0.0.0-...-1557bcf
Latest Go to latest

The latest major version is .

Published: Aug 13, 2020 | License: Apache-2.0 | Module: github.com/luci/luci-go

Overview

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

Index

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