replacepathregex

package
v0.8.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 21, 2026 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config added in v0.8.0

type Config struct {
	Regex       string `mapstructure:"regex"`
	Replacement string `mapstructure:"replacement"`
}

type ReplacePathRegexMiddleware

type ReplacePathRegexMiddleware struct {
	// contains filtered or unexported fields
}

func NewMiddleware

func NewMiddleware(regex, replacement string) (*ReplacePathRegexMiddleware, error)

func (*ReplacePathRegexMiddleware) ServeHTTP

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL