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:
@@ -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() {
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user