protodesc

package
Version: v0.96.0 Latest Latest
Warning

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

Go to latest
Published: Jun 27, 2021 License: Apache-2.0 Imports: 12 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetMethodDescFromProto

func GetMethodDescFromProto(call, proto string, imports []string) (*desc.MethodDescriptor, error)

GetMethodDescFromProto gets method descritor for the given call symbol from proto file given my path proto imports is used for import paths in parsing the proto file

func GetMethodDescFromProtoSet

func GetMethodDescFromProtoSet(call, protoset string) (*desc.MethodDescriptor, error)

GetMethodDescFromProtoSet gets method descritor for the given call symbol from protoset file given my path protoset

func GetMethodDescFromReflect

func GetMethodDescFromReflect(call string, client *grpcreflect.Client) (*desc.MethodDescriptor, error)

GetMethodDescFromReflect gets method descriptor for the call from reflection using client

Types

This section is empty.

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto