templates

package
v0.1.15 Latest Latest
Warning

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

Go to latest
Published: Mar 10, 2017 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RenderTemplate

func RenderTemplate(w http.ResponseWriter, tmpl string, p interface{})

RenderTemplate : apply the given template to the responsewriter

Types

type LoginPage

type LoginPage struct {
}

LoginPage : the login page

type RestrictedPage

type RestrictedPage struct {
	CsrfSecret string
	Role       string
}

RestrictedPage : the secret page

Jump to

Keyboard shortcuts

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