ResponseDone sets the time at which request headers were received
()
| 44 | |
| 45 | // ResponseDone sets the time at which request headers were received |
| 46 | func (t *Timer) ResponseDone() { |
| 47 | t.tsResponseDone = time.Now().UnixNano() |
| 48 | } |
| 49 | |
| 50 | // NewContext creates a new context with the timer included |
| 51 | func (t *Timer) NewContext(ctx context.Context) context.Context { |
no outgoing calls
no test coverage detected