Gofmt formatting
This commit is contained in:
parent
f05a21a339
commit
4b2ce6abbc
|
@ -35,7 +35,7 @@ func HTTPServerStart() {
|
|||
uncompressed := http.HandlerFunc(handleHTTPServerRequest)
|
||||
limiterMiddleware := setupRateLimiter()
|
||||
serverMux.Handle("/", limiterMiddleware.Handler(gziphandler.GzipHandler(uncompressed)))
|
||||
if err := http.ListenAndServe(*httpServerBind+ ":"+*HTTPServerPort, &slashFix{serverMux}); err != nil {
|
||||
if err := http.ListenAndServe(*httpServerBind+":"+*HTTPServerPort, &slashFix{serverMux}); err != nil {
|
||||
Shutdown(err)
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue