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.