route

package
v1.1.7 Latest Latest
Warning

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

Go to latest
Published: Aug 22, 2024 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const (
	GROUP   = "Group"
	Path    = "Path"
	Method  = "Method"
	Handler = "Handler"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Group

type Group struct {
	Path   string
	Groups []Group
	Routes []Route
}

Group represents a group of routes

type Route

type Route struct {
	Path    string
	Method  string
	Handler string
}

Route represents a single route with method, path, and handler

Jump to

Keyboard shortcuts

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