render

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Feb 24, 2017 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Renderer renderer

Renderer ...

View Source
var ZebedeeClient zebedeeClient

Functions

func HTML

func HTML(w io.Writer, status int, name string, binding interface{}, htmlOpt ...render.HTMLOptions) (err error)

HTML ...

func Handler

func Handler(w http.ResponseWriter, req *http.Request, page interface{}, page2 *model.Page, templateName string, f func())

Handler ... page and page2 need to be a pointer to the same value

func JSON

func JSON(w io.Writer, status int, v interface{}) (err error)

JSON ...

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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