Add missing comments

This commit is contained in:
pancho horrillo
2019-11-20 07:14:00 +01:00
parent d81ef278da
commit 7ea43048bc
5 changed files with 10 additions and 0 deletions
+2
View File
@@ -23,10 +23,12 @@ import (
"github.com/BBVA/kapow/internal/server/user/mux"
)
// Server is a singleton that stores the http.Server for the user package
var Server = http.Server{
Handler: mux.New(),
}
// Run finishes configuring Server and runs ListenAndServe on it
func Run(bindAddr string) {
Server = http.Server{
Addr: bindAddr,