Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TC (0.12 sec)

  1. internal/logger/audit.go

    			headerBytes     int64
    		)
    
    		tc, ok := r.Context().Value(mcontext.ContextTraceKey).(*mcontext.TraceCtxt)
    		if ok {
    			statusCode = tc.ResponseRecorder.StatusCode
    			outputBytes = int64(tc.ResponseRecorder.Size())
    			headerBytes = int64(tc.ResponseRecorder.HeaderSize())
    			timeToResponse = time.Now().UTC().Sub(tc.ResponseRecorder.StartTime)
    			timeToFirstByte = tc.ResponseRecorder.TimeToFirstByte
    		}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 4.6K bytes
    - Viewed (0)
Back to top