handlers

package
v0.0.4 Latest Latest
Warning

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

Go to latest
Published: Mar 27, 2024 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var AppRoot = "roadlabels"
View Source
var BuildTime = ""
View Source
var Templates map[string]*template.Template
View Source
var Version = ""

Functions

func CamlistHandler

func CamlistHandler(w http.ResponseWriter, r *http.Request, title string)

TODO: Use templates

Types

type Vars added in v0.0.4

type Vars struct {
	BuildTime string
	Version   string
	AppRoot   string
	Templates map[string]*template.Template
}

func NewHandlesHandler added in v0.0.4

func NewHandlesHandler(
	BuildTime string,
	Version string,
	AppRoot string,
	Templates map[string]*template.Template) Vars

func (Vars) Print added in v0.0.4

func (t Vars) Print()

Jump to

Keyboard shortcuts

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