grpcutil

package
v0.0.0-...-00e6b5b Latest Latest
Warning

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

Go to latest
Published: Jul 29, 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.

Jump to

Keyboard shortcuts

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