type google.golang.org/grpc.UnaryServerInterceptor
11 uses
google.golang.org/grpc (current package)
interceptor.go#L87: type UnaryServerInterceptor func(ctx context.Context, req interface{}, info *UnaryServerInfo, handler UnaryHandler) (resp interface{}, err error)
server.go#L89: type methodHandler func(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor UnaryServerInterceptor) (interface{}, error)
server.go#L156: unaryInt UnaryServerInterceptor
server.go#L158: chainUnaryInts []UnaryServerInterceptor
server.go#L405: func UnaryInterceptor(i UnaryServerInterceptor) ServerOption {
server.go#L418: func ChainUnaryInterceptor(interceptors ...UnaryServerInterceptor) ServerOption {
server.go#L1137: interceptors = append([]UnaryServerInterceptor{s.opts.unaryInt}, s.opts.chainUnaryInts...)
server.go#L1140: var chainedInt UnaryServerInterceptor
server.go#L1152: func chainUnaryInterceptors(interceptors []UnaryServerInterceptor) UnaryServerInterceptor {
server.go#L1158: func getChainUnaryHandler(interceptors []UnaryServerInterceptor, curr int, info *UnaryServerInfo, finalHandler UnaryHandler) UnaryHandler {