code: func (p *Peer) TimeConnected() time.Time {
  	p.statsMtx.RLock()
  	timeConnected := p.timeConnected
  	p.statsMtx.RUnlock()
  
  	return timeConnected
  }
docs: // TimeConnected returns the time at which the peer connected.
  //
  // This function is safe for concurrent access.