containerd/vendor/github.com/grpc-ecosystem/go-grpc-middleware/v2/interceptors/doc.go
Danny Canter 6a21c96b55 Replace go-grpc-prometheus with go-grpc-middleware/providers/prometheus
Fixes #9806

go-grpc-prometheus is deprecated. The new location it was moved to also introduced
an entirely new api, but afaict this matches what we have at the moment.

Signed-off-by: Danny Canter <danny@dcantah.dev>
2024-02-20 02:01:57 -08:00

13 lines
425 B
Go

// Copyright (c) The go-grpc-middleware Authors.
// Licensed under the Apache License 2.0.
//
/*
interceptor is an internal package used by higher level middlewares. It allows injecting custom code in various
places of the gRPC lifecycle.
This particular package is intended for use by other middleware, metric, logging or otherwise.
This allows code to be shared between different implementations.
*/
package interceptors