echoroutesview

package module
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Aug 29, 2023 License: MIT Imports: 7 Imported by: 3

README

Echo Routes View

Echo Routes View renders an HTML template where all routes are shown. This makes easier to know which endpoints out echo instance contains.

How to use

Just go get -u github.com/manicar2093/echoroutesview and after you register all routes call echoroutesview.RegisterRoutesViewer.

For more go to examples directory

Happy Coding! 😁

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterRoutesViewer

func RegisterRoutesViewer(echoInstance Registrable) error

Types

type Registrable

type Registrable interface {
	GET(string, echo.HandlerFunc, ...echo.MiddlewareFunc) *echo.Route
	Routes() []*echo.Route
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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