HealthService returns the underlying GRPC HealthClient
()
| 787 | |
| 788 | // HealthService returns the underlying GRPC HealthClient |
| 789 | func (c *Client) HealthService() grpc_health_v1.HealthClient { |
| 790 | c.connMu.Lock() |
| 791 | defer c.connMu.Unlock() |
| 792 | return grpc_health_v1.NewHealthClient(c.conn) |
| 793 | } |
| 794 | |
| 795 | // EventService returns the underlying event service |
| 796 | func (c *Client) EventService() EventService { |