middleware

package
v0.0.0-...-c1cf6bf Latest Latest
Warning

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

Go to latest
Published: Dec 23, 2024 License: Apache-2.0 Imports: 15 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MetricsMiddleware

func MetricsMiddleware(next http.Handler) http.Handler

MetricsMiddleware instruments HTTP requests with request metrics

func NewHealthController

func NewHealthController(rosettaConfig *config.Config) (server.Router, error)

NewHealthController creates a new HealthController object

func NewMetricsController

func NewMetricsController() server.Router

NewMetricsController constructs a new MetricsController object

func TracingMiddleware

func TracingMiddleware(inner http.Handler) http.Handler

TracingMiddleware traces requests to the log

Types

This section is empty.

Jump to

Keyboard shortcuts

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