code: func httpReply(c *router.Context, code int, out interface{}) {
  	c.Writer.Header().Set("Content-Type", "application/json")
  	c.Writer.WriteHeader(code)
  	if err := json.NewEncoder(c.Writer).Encode(out); err != nil {
  		logging.Errorf(c.Context, "Failed to JSON encode output - %s", err)
  	}
  }
docs: ////