route

package
v0.0.0-...-feeaf7e Latest Latest
Warning

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

Go to latest
Published: Aug 19, 2024 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Exec

func Exec(ctx echo.Context) error

func Proxy

func Proxy(c echo.Context) error

func Routes

func Routes(engine *echo.Echo)

func WS

func WS(r *echo.Echo)

Types

type ExecForm

type ExecForm struct {
	Script string `json:"script,omitempty" form:"script" query:"script"`
	// 单位秒
	Timeout int64 `json:"timeout,omitempty" form:"timeout" query:"timeout"`
	Watch   bool  `json:"watch,omitempty" form:"watch" query:"watch"`
}

Jump to

Keyboard shortcuts

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