func (p *peer) countConn(delta int) error {
	result := atomic.AddInt32(&p.numConns, int32(delta))
	if result < 0 {
		return fmt.Errorf("count below 0: %d", result)
	}
	return nil
}
// countConn mutates the active connection count by
// delta. It returns an error if the adjustment fails.
countConn mutates the active connection count by
delta. It returns an error if the adjustment fails.
// countConn mutates the active connection count by // delta . It returns an error if the adjustment fails .
func (p *peer) countConn(delta int) error {
	result := atomic.AddInt32(&p.numConns, int32(delta))
	if result < 0 {
		return fmt.Errorf("count below 0: %d", result)
	}
	return nil
}
func ( p * peer ) countConn ( delta int ) error { result := atomic . AddInt32 ( & p . numConns , int32 ( delta ) ) if result < 0 { return fmt . Errorf ( " " , result ) } return nil }
countConn mutates the active connection count by
delta.
countConn mutates the active connection count by delta .