templates

package
Version: v0.1.31-0...-b1e5c7a Latest Latest
Warning

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

Go to latest
Published: Jun 16, 2018 License: ISC Imports: 3 Imported by: 0

Documentation

Overview

Package templates provides a set of functions to encode data in a http.ResponseWriter.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RenderEmptyJSON

func RenderEmptyJSON(w http.ResponseWriter, c appengine.Context) error

RenderEmptyJSON renders empty data to json and writes it to response writer.

func RenderEmptyJSONArray

func RenderEmptyJSONArray(w http.ResponseWriter, c appengine.Context) error

RenderEmptyJSONArray renders empty data to json and writes it to response writer.

func RenderJSON

func RenderJSON(w http.ResponseWriter, c appengine.Context, data interface{}) error

RenderJSON renders data to json and writes it to response writer.

Types

This section is empty.

Source Files

Jump to

Keyboard shortcuts

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