We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 347346e commit 5bd2041Copy full SHA for 5bd2041
client/client.go
@@ -737,8 +737,9 @@ func (c *Client) VersionService() versionservice.VersionClient {
737
return versionservice.NewVersionClient(c.conn)
738
}
739
740
-// Conn returns the underlying GRPC connection object
741
-func (c *Client) Conn() *grpc.ClientConn {
+// Conn returns the underlying RPC connection object
+// Either *grpc.ClientConn or *ttrpc.Conn
742
+func (c *Client) Conn() any {
743
c.connMu.Lock()
744
defer c.connMu.Unlock()
745
return c.conn
0 commit comments