Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LoggingMiddleware ¶
func LoggingMiddleware(svc normalizer.Service, logger logger.Logger) normalizer.Service
LoggingMiddleware adds logging facilities to the core service.
func MakeHandler ¶
MakeHandler returns a HTTP handler for API endpoints.
func MetricsMiddleware ¶
func MetricsMiddleware(svc normalizer.Service, counter metrics.Counter, latency metrics.Histogram) normalizer.Service
MetricsMiddleware instruments core service by tracking request count and latency.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.