route

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Jul 5, 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