Documentation ¶
Overview ¶
Package rewrite is middleware for rewriting requests internally to a different path.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Rewrite ¶
type Rewrite struct { Next middleware.Handler Rules []Rule }
Rewrite is middleware to rewrite request locations internally before being handled.
Click to show internal directories.
Click to hide internal directories.