// HTTPHandler wraps a raw http.Handler in chain middleware. func HTTPHandler(c alice.Chain, fs http.Handler) http.Handler { return c.Then(fs) }