chiware

package
v0.36.0 Latest Latest
Warning

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

Go to latest
Published: Jul 30, 2024 License: AGPL-3.0 Imports: 8 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func StatMiddleware

func StatMiddleware(ctx context.Context, s stats.Stats, component string, options ...Option) func(http.Handler) http.Handler

Types

type Option added in v0.15.0

type Option func(*config)

func RedactUnknownPaths added in v0.15.0

func RedactUnknownPaths(redactUnknownPaths bool) Option

RedactUnknownPaths sets the redactUnknownPaths flag. If set to true, the path will be redacted if the route is not found. If set to false, the path will be used as is.

Jump to

Keyboard shortcuts

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