Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InstrumentingMiddleware ¶
func InstrumentingMiddleware(cMethods *prometheus.CounterVec, lMethods LatencyMethods) customer.ServiceMiddleware
func LoggingMiddleware ¶
func LoggingMiddleware(logger log.Logger) customer.ServiceMiddleware
Types ¶
type LatencyMethods ¶
type LatencyMethods struct { Save prometheus.Histogram Update prometheus.Histogram Find prometheus.Histogram FindAll prometheus.Histogram Delete prometheus.Histogram }
Click to show internal directories.
Click to hide internal directories.