echo

package
v0.0.0-...-6321d4b Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewContext

func NewContext(e *echo.Echo, method, path string, headers http.Header, body interface{}) echo.Context

NewContext create a new echo context ready for a test request.

func NewContextWithContext

func NewContextWithContext(ctx context.Context, e *echo.Echo, method, path string, headers http.Header, body interface{}) echo.Context

NewContextWithContext create an echo.Context related with go context.Context.

func NewHandler

func NewHandler(status int, response any, err error) echo.HandlerFunc

NewHandler create a demo handler

Types

This section is empty.

Jump to

Keyboard shortcuts

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