route

package
v1.6.0 Latest Latest
Warning

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

Go to latest
Published: Aug 4, 2023 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
JackTT - Gopher 🇻🇳