Documentation
¶
Overview ¶
Package echov5 is the router for github.com/labstack/echo/v5, whose handlers take an *echo.Context and return an error.
Index ¶
- type Framework
- func (Framework) Conflicts(routes []framework.Route) ([]framework.Route, []framework.Conflict)
- func (Framework) Handler(s *gocode.Scope) framework.Handler
- func (Framework) Imports() []gomodel.Import
- func (Framework) Name() string
- func (Framework) PathParam(s *gocode.Scope, name string) string
- func (Framework) RoutePattern(method, path string) (string, error)
- func (Framework) Templates() fs.FS
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Framework ¶
type Framework struct{}
Framework is the echo v5 router.
func (Framework) Conflicts ¶
Conflicts drops every route with the method and shape of an earlier one, which echo would replace.
func (Framework) PathParam ¶
PathParam unescapes the value, which echo cuts from the raw path when the request has one.
func (Framework) RoutePattern ¶
RoutePattern writes each parameter as :name and a literal colon as \:, which echo would misread.
Click to show internal directories.
Click to hide internal directories.