func (c *Client) HeartbeatWasRecieved(last time.Time) bool {
	c.RLock()
	defer c.RUnlock()

	return c.lastHeartbeatAck.After(last)
}
// HeartbeatWasRecieved checks if a heartbeat was received given after a certain timestamp
HeartbeatWasRecieved checks if a heartbeat was received given after a certain timestamp
// HeartbeatWasRecieved checks if a heartbeat was received given after a certain timestamp
func (c *Client) HeartbeatWasRecieved(last time.Time) bool {
	c.RLock()
	defer c.RUnlock()
	return c.lastHeartbeatAck.After(last)
}
func ( c * Client ) HeartbeatWasRecieved ( last time . Time ) bool { c . RLock ( ) defer c . RUnlock ( ) return c . lastHeartbeatAck . After ( last ) }
HeartbeatWasRecieved checks if a heartbeat was received given after a certain timestamp
HeartbeatWasRecieved checks if a heartbeat was received given after a certain timestamp