route

package
v0.0.0-...-1a112eb Latest Latest
Warning

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

Go to latest
Published: Sep 2, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Index

func Index(c echo.Context) error

Index route for the tqweb.

func ProcessInputData

func ProcessInputData(c echo.Context) error

ProcessInputData runs the tq query against the provided TOML data.

func RegisterAll

func RegisterAll(e *echo.Echo) *echo.Echo

RegisterAll registers all routes defined for the HTTP server.

func RegisterProcessRoutes

func RegisterProcessRoutes(e *echo.Echo) *echo.Echo

RegisterProcessRoutes groups data processing routes.

func RegsiterRootRoutes

func RegsiterRootRoutes(e *echo.Echo) *echo.Echo

RegsiterRootRoutes groups root routes.

func ServeStatics

func ServeStatics(e *echo.Echo, at, from string) *echo.Echo

ServeStatics registers a new route to serve static files from the root directory at the provided path prefix.

func ValidateTOML

func ValidateTOML(c echo.Context) error

ValidateTOML checks if the provided form input is a valid TOML document.

func ValidateTqQuery

func ValidateTqQuery(c echo.Context) error

ValidateTqQuery verifies if the provided tq query string is valid.

Types

This section is empty.

Jump to

Keyboard shortcuts

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