Internal

internal/paramdelim

import "github.com/gofiber/fiber/v3/internal/paramdelim"

Package paramdelim holds the byte set that ends a ":name" placeholder in a path. The route parser and the HTTP client both need the same grammar; keep it here so they cannot drift (#4635).

Functions

func PathEndChars() [256]bool

Source: internal/paramdelim/paramdelim.go:8

PathEndChars are the bytes that terminate a :name placeholder in a URL path or route pattern: '/', '-', '.', ':', '\\', and '?'.