Documentation ¶
Index ¶
- func DeleteHandler(e echo.Context) error
- func DeleteTemplateHandler(e echo.Context) error
- func DownloadTemplateHandler(e echo.Context) error
- func ExportTemplate(e echo.Context) error
- func IdeFormHandler(e echo.Context) error
- func IdeGetDeleteHandler(e echo.Context) error
- func IdeGetDownloadHandler(e echo.Context) error
- func IdePostUploadHandler(e echo.Context) error
- func IdeSetActiveHandler(e echo.Context) error
- func Init(templateService service.TemplateDocumentService, ...)
- func ListHandler(e echo.Context) error
- func OneTmplHandler(e echo.Context) error
- func UpdateHandler(e echo.Context) error
- func UploadTemplateHandler(e echo.Context) error
- func VarsTemplateHandler(e echo.Context) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DeleteTemplateHandler ¶
func DeleteTemplateHandler(e echo.Context) error
Remove a template from the database
func DownloadTemplateHandler ¶
func DownloadTemplateHandler(e echo.Context) error
Returns a rendered template
func ExportTemplate ¶
func ExportTemplate(e echo.Context) error
Exports an export file of a given template ID
func IdeGetDeleteHandler ¶
func IdeGetDeleteHandler(e echo.Context) error
Removes a file from the template IDE
func IdeGetDownloadHandler ¶
func IdeGetDownloadHandler(e echo.Context) error
Returns the active template file
func IdePostUploadHandler ¶
func IdePostUploadHandler(e echo.Context) error
Handles the upload a template file in the template IDE
func IdeSetActiveHandler ¶
func IdeSetActiveHandler(e echo.Context) error
Set the template with the given id as active
func Init ¶
func Init(templateService service.TemplateDocumentService, formService service.FormService)
func ListHandler ¶
func ListHandler(e echo.Context) error
func OneTmplHandler ¶
func OneTmplHandler(e echo.Context) error
func UpdateHandler ¶
func UpdateHandler(e echo.Context) error
func VarsTemplateHandler ¶
func VarsTemplateHandler(e echo.Context) error
Returns a list of template variables from the database
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.