Documentation ¶
Index ¶
- func GetMethodDescFromProto(call, proto string, imports []string) (*desc.MethodDescriptor, error)
- func GetMethodDescFromProtoSet(call, protoset string) (*desc.MethodDescriptor, error)
- func GetMethodDescFromProtoSetBinary(call string, b []byte) (*desc.MethodDescriptor, error)
- func GetMethodDescFromReflect(call string, client *grpcreflect.Client) (*desc.MethodDescriptor, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetMethodDescFromProto ¶ added in v0.3.0
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 ¶ added in v0.3.0
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.100.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.30.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.
Click to show internal directories.
Click to hide internal directories.