middleware

package
v16.9.5 Latest Latest
Warning

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

Go to latest
Published: Apr 12, 2024 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MethodTypeStreamInterceptor

func MethodTypeStreamInterceptor(r *protoregistry.Registry, logger log.Logger) grpc.StreamServerInterceptor

MethodTypeStreamInterceptor returns a Stream Interceptor that records the method type of incoming RPC requests

func MethodTypeUnaryInterceptor

func MethodTypeUnaryInterceptor(r *protoregistry.Registry, logger log.Logger) grpc.UnaryServerInterceptor

MethodTypeUnaryInterceptor returns a Unary Interceptor that records the method type of incoming RPC requests

func StreamErrorHandler

func StreamErrorHandler(registry *protoregistry.Registry, errorTracker tracker.ErrorTracker, nodeStorage string) grpc.StreamClientInterceptor

StreamErrorHandler returns a client interceptor that will track accessor/mutator errors from internal gitaly nodes

Types

This section is empty.

Jump to

Keyboard shortcuts

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