Remove grpc from Client connection interface
Signed-off-by: Derek McGowan <derek@mcg.dev>
This commit is contained in:
parent
347346e3cf
commit
5bd204109f
@ -737,8 +737,9 @@ func (c *Client) VersionService() versionservice.VersionClient {
|
||||
return versionservice.NewVersionClient(c.conn)
|
||||
}
|
||||
|
||||
// Conn returns the underlying GRPC connection object
|
||||
func (c *Client) Conn() *grpc.ClientConn {
|
||||
// Conn returns the underlying RPC connection object
|
||||
// Either *grpc.ClientConn or *ttrpc.Conn
|
||||
func (c *Client) Conn() any {
|
||||
c.connMu.Lock()
|
||||
defer c.connMu.Unlock()
|
||||
return c.conn
|
||||
|
Loading…
Reference in New Issue
Block a user