template_ide

package
v1.6.2 Latest Latest
Warning

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

Go to latest
Published: Mar 7, 2024 License: GPL-3.0 Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DeleteHandler

func DeleteHandler(e echo.Context) error

Remove the template with the given ID

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 IdeFormHandler

func IdeFormHandler(e echo.Context) error

Handles form testdata input

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 UploadTemplateHandler

func UploadTemplateHandler(e echo.Context) error

Upload a new template

func VarsTemplateHandler

func VarsTemplateHandler(e echo.Context) error

Returns a list of template variables from the database

Types

This section is empty.

Jump to

Keyboard shortcuts

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