app

package
v0.0.0-...-b2828fe Latest Latest
Warning

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

Go to latest
Published: Jul 28, 2014 License: MIT Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// ReloadTemplates is whether to reload templates on each request.
	ReloadTemplates bool

	// StaticDir is the directory containing static assets.
	StaticDir = filepath.Join(defaultBase("github.com/sourcegraph/thesrc/app"), "static")
)
View Source
var (
	// TemplateDir is the directory containing the html/template template files.
	TemplateDir = filepath.Join(defaultBase("github.com/sourcegraph/thesrc/app"), "tmpl")
)

Functions

func Handler

func Handler() *mux.Router

func LoadTemplates

func LoadTemplates()

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL