code: func (cs *ConnStats) Snapshot() *ConnStats {
  	return &ConnStats{
  		RPCCalls:     atomic.LoadUint64(&cs.RPCCalls),
  		RPCTime:      atomic.LoadUint64(&cs.RPCTime),
  		BytesWritten: atomic.LoadUint64(&cs.BytesWritten),
  		BytesRead:    atomic.LoadUint64(&cs.BytesRead),
  		ReadCalls:    atomic.LoadUint64(&cs.ReadCalls),
  		ReadErrors:   atomic.LoadUint64(&cs.ReadErrors),
  		WriteCalls:   atomic.LoadUint64(&cs.WriteCalls),
  		WriteErrors:  atomic.LoadUint64(&cs.WriteErrors),
  		DialCalls:    atomic.LoadUint64(&cs.DialCalls),
  		DialErrors:   atomic.LoadUint64(&cs.DialErrors),
  		AcceptCalls:  atomic.LoadUint64(&cs.AcceptCalls),
  		AcceptErrors: atomic.LoadUint64(&cs.AcceptErrors),
  	}
  }
docs: // Snapshot returns connection statistics' snapshot.
  //
  // Use stats returned from ConnStats.Snapshot() on live Client and / or Server,
  // since the original stats can be updated by concurrently running goroutines.