replication.go
func (s *followerReplication) setLastContact() {
	s.lastContactLock.Lock()
	s.lastContact = time.Now()
	s.lastContactLock.Unlock()
}
func (s *followerReplication) setLastContact() {
	s.lastContactLock.Lock()
	s.lastContact = time.Now()
	s.lastContactLock.Unlock()
}
func ( s * followerReplication ) setLastContact ( ) { s . lastContactLock . Lock ( ) s . lastContact = time . Now ( ) s . lastContactLock . Unlock ( ) }
// setLastContact sets the last contact to the current time.
setLastContact sets the last contact to the current time .