Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 2 of 2 for logCh (0.02 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

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

    	maxWorkers int64
    
    	// workerStartMu sync.Mutex
    	lastStarted time.Time
    
    	wg sync.WaitGroup
    
    	// Channel of log entries.
    	// Reading logCh must hold read lock on logChMu (to avoid read race)
    	// Sending a value on logCh must hold read lock on logChMu (to avoid closing)
    	logCh   chan any
    	logChMu sync.RWMutex
    
    	// If this webhook is being re-configured we will
    	// assign the new webhook target to this field.
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 15.6K bytes
    - Click Count (0)
  2. cmd/peer-rest-client.go

    }
    
    func (client *peerRESTClient) doConsoleLog(ctx context.Context, kind madmin.LogMask, logCh chan<- []byte) {
    	st, err := consoleLogRPC.Call(ctx, client.gridConn(), grid.NewMSSWith(map[string]string{
    		peerRESTLogMask: strconv.Itoa(int(kind)),
    	}))
    	if err != nil {
    		return
    	}
    	st.Results(func(b *grid.Bytes) error {
    		select {
    		case logCh <- *b:
    		default:
    			consoleLogRPC.PutResponse(b)
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 26.1K bytes
    - Click Count (0)
Back to Top