swappableMux is now public and Append() now updates Server.Handler

Co-authored-by: Roberto Abdelkader Martínez Pérez <robertomartinezp@gmail.com>
This commit is contained in:
pancho horrillo
2019-10-10 20:06:05 +02:00
parent 0c408497a3
commit df5d38e94f
8 changed files with 74 additions and 42 deletions
+5 -1
View File
@@ -2,9 +2,13 @@ package user
import (
"net/http"
"github.com/BBVA/kapow/internal/server/user/mux"
)
var Server http.Server
var Server = http.Server{
Handler: mux.New(),
}
func Run() {
}