func (this *JSONTemplates) GetPostprocessorTemplate(w *rest.ResponseWriter, r *rest.Request) { postprocessor := r.PathParam("type") jsonPath := filepath.Join(this.BasePath, "postprocessors", postprocessor+".json") store.SendJSONFile(w, r, jsonPath) }
func (this *JSONTemplates) GetBuilderTemplate(w *rest.ResponseWriter, r *rest.Request) { builder := r.PathParam("type") jsonPath := filepath.Join(this.BasePath, "builders", builder+".json") store.SendJSONFile(w, r, jsonPath) }
func (this *JSONTemplates) ListPostprocessorTemplates(w *rest.ResponseWriter, r *rest.Request) { store.SendJSONFile(w, r, filepath.Join(this.BasePath, "postprocessors", "list.json")) }
func (this *JSONTemplates) ListBuilderTemplates(w *rest.ResponseWriter, r *rest.Request) { store.SendJSONFile(w, r, filepath.Join(this.BasePath, "builders", "list.json")) }