// WithRequestReceivedTimestamp attaches the ReceivedTimestamp (the time the request reached // the apiserver) to the context. func WithRequestReceivedTimestamp(handler http.Handler) http.Handler { … } // The clock is passed as a parameter, handy for unit testing. func withRequestReceivedTimestampWithClock(handler http.Handler, clock clock.PassiveClock) http.Handler { … }