Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for outgoingBytes (0.05 sec)

  1. internal/grid/connection.go

    		authFn:             o.authFn,
    	}
    	if debugPrint {
    		// Random Mux ID
    		c.NextID = rand.Uint64()
    	}
    
    	// Record per connection stats.
    	c.outgoingBytes = func(n int64) {
    		if o.outgoingBytes != nil {
    			o.outgoingBytes(n)
    		}
    		c.outBytes.Add(n)
    	}
    	c.incomingBytes = func(n int64) {
    		if o.incomingBytes != nil {
    			o.incomingBytes(n)
    		}
    		c.inBytes.Add(n)
    	}
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 46.9K bytes
    - Viewed (0)
Back to top