protodesc

package
v0.106.0 Latest Latest
Warning

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

Go to latest
Published: Nov 15, 2021 License: Apache-2.0 Imports: 12 Imported by: 0

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 descriptor 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 descriptor for the given call symbol from protoset file given my path protoset

func GetMethodDescFromProtoSetBinary added in v0.106.0

func GetMethodDescFromProtoSetBinary(call string, b []byte) (*desc.MethodDescriptor, error)

GetMethodDescFromProtoSetBinary gets method descriptor for the given call symbol from protoset binary

func GetMethodDescFromReflect added in v0.106.0

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.

Jump to

Keyboard shortcuts

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