What is an http request multiplexer?
From net/http GoDoc and Source. ListenAndServe starts an HTTP server with a given address and handler. The handler is usually nil, which means to use DefaultServeMux. Handle and HandleFunc add handlers to DefaultServeMux DefaultServeMux is just a predefined http.ServeMux var DefaultServeMux = &defaultServeMux var defaultServeMux ServeMux As you can see http.Handle calls DefaultServeMux internally. func … Read more