grpcutil

package
Version: v0.0.0-...-aed1ee4 Latest Latest
Warning

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

Go to latest
Published: Feb 26, 2021 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package grpcutil provides helper functions for working with gRPC targets.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Lookup

func Lookup(ctx context.Context, conn *grpc.ClientConn, service string) (bool, error)

Lookup uses ServerReflection service on conn to find a named service. It returns an error if the remote side doesn't support ServerReflection or if any other error occurs.

If lookup succeeds and service is found, true is returned.

Types

This section is empty.

Source Files

Jump to

Keyboard shortcuts

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