Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type StripPrefix ¶
type StripPrefix struct {
// ForceSlash default is true
ForceSlash *bool `cfg:"force_slash"`
Prefixes []string `cfg:"prefixes"`
Prefix string `cfg:"prefix"`
}
func (*StripPrefix) Middleware ¶
func (a *StripPrefix) Middleware() func(http.Handler) http.Handler
Click to show internal directories.
Click to hide internal directories.