Documentation
¶
Overview ¶
Package route matches HTTP requests against net/http.ServeMux patterns.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Map ¶
type Map[T any] struct { // contains filtered or unexported fields }
Map assigns a value to each pattern. Build it with Add before sharing it; concurrent Match calls are safe once construction is complete.
Click to show internal directories.
Click to hide internal directories.