// serverInterceptor will intercept the all the grpc unary calls
serverInterceptor will intercept the all the grpc unary calls
// serverInterceptor will intercept the all the grpc unary calls
func serverInterceptor(ctx context.Context, req interface{}, info *grpc.UnaryServerInfo, handler grpc.UnaryHandler) (interface{}, error) {
	log.Println("Intercepting the call ", info.FullMethod)
	if info == nil {
		return nil, errors.New("passed nil *grpc.UnaryServerInfo")
	}
	resp, err := handler(ctx, req)
	return resp, err
}
func serverInterceptor ( ctx context . Context , req interface { } , info * grpc . UnaryServerInfo , handler grpc . UnaryHandler ) ( interface { } , error ) { log . Println ( " " , info . FullMethod ) if info == nil { return nil , errors . New ( " " ) } resp , err := handler ( ctx , req ) return resp , err }
serverInterceptor will intercept the all the grpc unary calls
serverInterceptor will intercept the all the grpc unary calls