code: func (c *Consumer) Health() error {
  	if c.Closing {
  		return errors.New("closing service")
  	}
  
  	// check db status
  	if c.DB == nil {
  		return errors.New("database disconnected")
  	}
  
  	if err := c.DB.Ping(); err != nil {
  		return errors.New("database unavailable")
  	}
  
  	// check grpc connection status
  	if c.GRPCConnection == nil {
  		return errors.New("grpc disconnected")
  	}
  
  	if grpcState := c.GRPCConnection.GetState(); grpcState != connectivity.Ready {
  		return errors.New("grpc connection not ready")
  	}
  
  	return nil
  }
docs: // Health returns the health status for the consumer