Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewMiddlewares ¶
func NewMiddlewares(conf config.Config, middlewares ...grpcutil.Middleware) grpcutil.Middlewares
Types ¶
type PrometheusMiddleware ¶
type PrometheusMiddleware struct{}
func NewPrometheusMiddleware ¶
func NewPrometheusMiddleware() *PrometheusMiddleware
func (*PrometheusMiddleware) Stream ¶
func (m *PrometheusMiddleware) Stream() grpc.StreamServerInterceptor
func (*PrometheusMiddleware) Unary ¶
func (m *PrometheusMiddleware) Unary() grpc.UnaryServerInterceptor
Click to show internal directories.
Click to hide internal directories.