Documentation ¶ Overview ¶ Package grpcutil provides helper functions for working with gRPC targets. Index ¶ func Lookup(ctx context.Context, conn *grpc.ClientConn, service string) (bool, error) 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 ¶ View all Source files lookup.go Click to show internal directories. Click to hide internal directories.