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.