# Functions

BearerAuthenticate gets the Authorization Header from http request, and checks if given Authorization header is valid.
Controller sets the controller in the request's middleware context.
LogRequest logs provided request with the response and the status.
ResponseWriter is a middleware that wraps the response writer into httputil.ResponseWriter.
StoreIDFromParams stores id parameter from the httprouter params under the key: 'idKey'.
WithCodec stores the codec in the context.