# Functions
BasicAuth create a BasicAuth header value for given user credentials
*/.
BasicAuthMiddleware checks whether the BasicAuth header of the request contains the expected username and password.
CreateLogger creates a logger with the given log level
*/.
JSONAcceptRequest checks whether the Accept header of the request is application/json
*/.
JSONContentTypeRequest checks whether the Content-type header of the request is application/json
*/.
PathParamRequest checks whether the request path contains expected path parameters
*/.
WriteEntity marshals an entity and writes the output to the http response
*/.