VersionService returns the underlying VersionClient
()
| 844 | |
| 845 | // VersionService returns the underlying VersionClient |
| 846 | func (c *Client) VersionService() versionservice.VersionClient { |
| 847 | c.connMu.Lock() |
| 848 | defer c.connMu.Unlock() |
| 849 | return versionservice.NewVersionClient(c.conn) |
| 850 | } |
| 851 | |
| 852 | // Conn returns the underlying RPC connection object |
| 853 | // Either *grpc.ClientConn or *ttrpc.Conn |