route

package
v2.2.2 Latest Latest
Warning

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

Go to latest
Published: May 21, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Routes = []Route{}

Routes is a global variable to hold all necessary route information.

Functions

func Init

func Init(e *echo.Echo)

Types

type Route

type Route struct {
	Method      string
	Path        string
	Name        string
	PathSegment url.Path
}

Route contains all the registered routes name, URI path, request method and URI path template.

Jump to

Keyboard shortcuts

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