package peer import ( "time" "vppn/peer/control" ) func (a *App) onPingTicker() { now := time.Now().UnixNano() for _, p := range a.peersByIP { if p.Role == control.Client { a.sendPing(p, now) } } }