Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for LoadInt32 (0.16 sec)

  1. internal/logger/target/http/http.go

    }
    
    func (h *Target) String() string {
    	return h.config.Name
    }
    
    // IsOnline returns true if the target is reachable using a cached value
    func (h *Target) IsOnline(ctx context.Context) bool {
    	return atomic.LoadInt32(&h.status) == statusOnline
    }
    
    // Stats returns the target statistics.
    func (h *Target) Stats() types.TargetStats {
    	h.logChMu.RLock()
    	queueLength := len(h.logCh)
    	h.logChMu.RUnlock()
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Mon Mar 25 16:44:20 GMT 2024
    - 14.9K bytes
    - Viewed (0)
Back to top