Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewGRPCClient ¶
func NewGRPCClient(proxyAddr, serviceAddr string, opts ...grpc.DialOption) (*grpc.ClientConn, error)
NewGRPCClient creates a new gRPC client connection. It establishes a connection to the specified service address using the provided proxy address and options. The proxy address should be in the format "host:port". The service address should be in the format "serviceName.nameSpace". Additional options can be passed as variadic arguments of type grpc.DialOption. The function returns a *grpc.ClientConn and an error.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.