Documentation ¶
Index ¶
- func NewRequestContextLoggers(svcLogger svc1log.Logger, evtLogger evt2log.Logger, ...) wrouter.RequestHandlerMiddleware
- func NewRequestContextMetricsRegistry(metricsRegistry metrics.Registry) wrouter.RequestHandlerMiddleware
- func NewRequestExtractIDs(svcLogger svc1log.Logger, trcLogger trc1log.Logger, ...) wrouter.RequestHandlerMiddleware
- func NewRequestMetricRequestMeter(mr metrics.RootRegistry) wrouter.RouteHandlerMiddleware
- func NewRequestPanicRecovery() wrouter.RequestHandlerMiddleware
- func NewRouteLogTraceSpan() wrouter.RouteHandlerMiddleware
- func NewRouteRequestLog(reqLogger req2log.Logger, baseParamPerms req2log.RequestParamPerms) wrouter.RouteHandlerMiddleware
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewRequestContextLoggers ¶
func NewRequestContextLoggers( svcLogger svc1log.Logger, evtLogger evt2log.Logger, auditLogger audit2log.Logger, metricLogger metric1log.Logger, ) wrouter.RequestHandlerMiddleware
NewRequestContextLoggers is request middleware that sets loggers that can be retrieved from a context on the request context.
func NewRequestContextMetricsRegistry ¶ added in v1.4.1
func NewRequestContextMetricsRegistry(metricsRegistry metrics.Registry) wrouter.RequestHandlerMiddleware
NewRequestContextMetricsRegistry is request middleware that sets the metrics registry on the request context.
func NewRequestExtractIDs ¶
func NewRequestExtractIDs( svcLogger svc1log.Logger, trcLogger trc1log.Logger, tracerOptions []wtracing.TracerOption, idsExtractor extractor.IDsFromRequest, ) wrouter.RequestHandlerMiddleware
func NewRequestMetricRequestMeter ¶
func NewRequestMetricRequestMeter(mr metrics.RootRegistry) wrouter.RouteHandlerMiddleware
func NewRequestPanicRecovery ¶
func NewRequestPanicRecovery() wrouter.RequestHandlerMiddleware
func NewRouteLogTraceSpan ¶
func NewRouteLogTraceSpan() wrouter.RouteHandlerMiddleware
func NewRouteRequestLog ¶
func NewRouteRequestLog(reqLogger req2log.Logger, baseParamPerms req2log.RequestParamPerms) wrouter.RouteHandlerMiddleware
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.