Documentation ¶
Overview ¶
Package grpcreflection provides gRPC reflection client. Currently, gRPC reflection depends on Protocol Buffers, so we split this package from grpc package.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrTLSHandshakeFailed = errors.New("TLS handshake failed")
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client interface { // ListPackages lists file descriptors from the gRPC reflection server. // ListPackages returns these errors: // - ErrTLSHandshakeFailed: TLS misconfig. ListPackages() ([]*desc.FileDescriptor, error) // Reset clears internal states of Client. Reset() }
Client defines gRPC reflection client.
func NewClient ¶
func NewClient(conn grpc.ClientConnInterface) Client
NewClient returns an instance of gRPC reflection client for gRPC protocol.
Click to show internal directories.
Click to hide internal directories.