Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for setConnSuccess (0.28 sec)

  1. internal/config/identity/plugin/config.go

    }
    
    type metrics struct {
    	sync.Mutex
    	LastCheckSuccess time.Time
    	LastCheckFailure time.Time
    	lastFullMinute   serviceRTTMinuteStats
    	currentMinute    serviceRTTMinuteStats
    }
    
    func (h *metrics) setConnSuccess(reqStartTime time.Time) {
    	h.Lock()
    	defer h.Unlock()
    	h.LastCheckSuccess = reqStartTime
    }
    
    func (h *metrics) setConnFailure(reqStartTime time.Time) {
    	h.Lock()
    	defer h.Unlock()
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 13.3K bytes
    - Viewed (3)
Back to top