type google.golang.org/grpc.UnaryServerInterceptor
11 uses
google.golang.org/grpc (current package)
interceptor.go#L87: type UnaryServerInterceptor func(ctx context.Context, req any, info *UnaryServerInfo, handler UnaryHandler) (resp any, err error)
server.go#L98: type MethodHandler func(srv any, ctx context.Context, dec func(any) error, interceptor UnaryServerInterceptor) (any, error)
server.go#L161: unaryInt UnaryServerInterceptor
server.go#L163: chainUnaryInts []UnaryServerInterceptor
server.go#L485: func UnaryInterceptor(i UnaryServerInterceptor) ServerOption {
server.go#L498: func ChainUnaryInterceptor(interceptors ...UnaryServerInterceptor) ServerOption {
server.go#L1230: interceptors = append([]UnaryServerInterceptor{s.opts.unaryInt}, s.opts.chainUnaryInts...)
server.go#L1233: var chainedInt UnaryServerInterceptor
server.go#L1245: func chainUnaryInterceptors(interceptors []UnaryServerInterceptor) UnaryServerInterceptor {
server.go#L1251: func getChainUnaryHandler(interceptors []UnaryServerInterceptor, curr int, info *UnaryServerInfo, finalHandler UnaryHandler) UnaryHandler {