// clientInterceptor will intercept all the remote calls from the client
clientInterceptor will intercept all the remote calls from the client
// clientInterceptor will intercept all the remote calls from the client
func clientInterceptor(ctx context.Context, method string, req, reply interface{}, cc *grpc.ClientConn, invoker grpc.UnaryInvoker, opts ...grpc.CallOption) error {
	log.Println("Intercepting the remote call ", method)
	start := time.Now()
	err := invoker(ctx, method, req, reply, cc, opts...) 
	log.Printf("invoke remote method=%s duration=%s error=%v", method, time.Since(start), err)
	return err
}
func clientInterceptor ( ctx context . Context , method string , req , reply interface { } , cc * grpc . ClientConn , invoker grpc . UnaryInvoker , opts ... grpc . CallOption ) error { log . Println ( " " , method ) start := time . Now ( ) err := invoker ( ctx , method , req , reply , cc , opts ... ) log . Printf ( " " , method , time . Since ( start ) , err ) return err }
clientInterceptor will intercept all the remote calls from the client
clientInterceptor will intercept all the remote calls from the client
// <==