templates

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Jul 11, 2016 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{})

Types

type LoginPage

type LoginPage struct {
	BAlertUser bool
	AlertMsg   string
}

type RegisterPage

type RegisterPage struct {
	BAlertUser bool
	AlertMsg   string
}

type RestrictedPage

type RestrictedPage struct {
	CsrfSecret    string
	SecretMessage string
}

Jump to

Keyboard shortcuts

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