mirror of
https://github.com/gofiber/fiber.git
synced 2025-02-21 04:52:38 +00:00
Update router.go
This commit is contained in:
parent
44d739496d
commit
3187472744
15
router.go
15
router.go
@ -37,14 +37,13 @@ type Router interface {
|
|||||||
// Route is a struct that holds all metadata for each registered handler
|
// Route is a struct that holds all metadata for each registered handler
|
||||||
type Route struct {
|
type Route struct {
|
||||||
// Data for routing
|
// Data for routing
|
||||||
pos int // Position in stack
|
pos int // Position in stack
|
||||||
use bool // USE matches path prefixes
|
use bool // USE matches path prefixes
|
||||||
star bool // Path equals '*'
|
star bool // Path equals '*'
|
||||||
root bool // Path equals '/'
|
root bool // Path equals '/'
|
||||||
path string // Prettified path
|
path string // Prettified path
|
||||||
allowedMethods string // Methods that are allowed on this route
|
routeParser routeParser // Parameter parser
|
||||||
routeParser routeParser // Parameter parser
|
routeParams []string // Case sensitive param keys
|
||||||
routeParams []string // Case sensitive param keys
|
|
||||||
|
|
||||||
// Public fields
|
// Public fields
|
||||||
Path string // Original registered route path
|
Path string // Original registered route path
|
||||||
|
Loading…
x
Reference in New Issue
Block a user