package
1.0.6
Repository: https://github.com/liuyp5181/base.git
Documentation: pkg.go.dev

# Functions

NewClient opens a connection to target.
NewConnect opens a connection to target.
NewReflector creates a new Reflector from the reflection client.
NewStub creates a new Stub with the passed connection.
ServiceDescriptorFromFileDescriptor finds the service descriptor from a file descriptor This can be useful in tests that don't connect to a real server.

# Structs

MessageDescriptor represents a message type.
MethodDescriptor represents a method type.
MethodInvocation contains a method and a message used to invoke an RPC.
Proxy is a dynamic gRPC client that performs reflection.
ServiceDescriptor represents a service type.

# Interfaces

No description provided by the author
Reflector performs reflection on the gRPC service to obtain the method type.
Stub performs gRPC calls based on descriptors obtained through reflection.