middleware

package
v0.14.0 Latest Latest
Warning

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

Go to latest
Published: Jan 29, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Overview

Package middleware contains the middleware for the invitations service. It is responsible for the following: - Logging - Metrics - Tracing

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Logging

func Logging(logger *slog.Logger, svc invitations.Service) invitations.Service

func Metrics

func Metrics(counter metrics.Counter, latency metrics.Histogram, svc invitations.Service) invitations.Service

func Tracing

func Tracing(svc invitations.Service, tracer trace.Tracer) invitations.Service

Types

This section is empty.

Jump to

Keyboard shortcuts

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