Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for incTotalEvents (0.14 sec)

  1. internal/event/targetlist.go

    	stats, ok := list.targetStats[id]
    	if !ok {
    		stats = targetStat{}
    	}
    
    	stats.failedEvents++
    	list.targetStats[id] = stats
    	return
    }
    
    func (list *TargetList) incTotalEvents(id TargetID) {
    	list.statLock.Lock()
    	defer list.statLock.Unlock()
    
    	stats, ok := list.targetStats[id]
    	if !ok {
    		stats = targetStat{}
    	}
    
    	stats.totalEvents++
    	list.targetStats[id] = stats
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 9.2K bytes
    - Viewed (0)
Back to top