Versions in this module Expand all Collapse all v1 v1.7.1 Jul 17, 2020 Changes in this version + func IsElementNotFoundError(err error) bool + func LoadServiceDescriptor(svc *grpc.ServiceDesc) (*desc.ServiceDescriptor, error) + func LoadServiceDescriptors(s *grpc.Server) (map[string]*desc.ServiceDescriptor, error) + type Client struct + func NewClient(ctx context.Context, stub rpb.ServerReflectionClient) *Client + func (cr *Client) AllExtensionNumbersForType(extendedMessageName string) ([]int32, error) + func (cr *Client) FileByFilename(filename string) (*desc.FileDescriptor, error) + func (cr *Client) FileContainingExtension(extendedMessageName string, extensionNumber int32) (*desc.FileDescriptor, error) + func (cr *Client) FileContainingSymbol(symbol string) (*desc.FileDescriptor, error) + func (cr *Client) ListServices() ([]string, error) + func (cr *Client) Reset() + func (cr *Client) ResolveEnum(enumName string) (*desc.EnumDescriptor, error) + func (cr *Client) ResolveEnumValues(enumName string) (map[string]int32, error) + func (cr *Client) ResolveExtension(extendedType string, extensionNumber int32) (*desc.FieldDescriptor, error) + func (cr *Client) ResolveMessage(messageName string) (*desc.MessageDescriptor, error) + func (cr *Client) ResolveService(serviceName string) (*desc.ServiceDescriptor, error) + type ProtocolError struct + func (p ProtocolError) Error() string