Service Mux The goa HTTP request mux is in charge of dispatching incoming requests to the correct controller action. It implements the goa ServeMux interface which on top of the usual binding of HTTP method and path to handler also provides the ability to lookup registered handlers.
The ServeMux interface Handle method associates a request HTTP method and path to a MuxHandler which is a function that accepts an http ResponseWriter and Request as well as an instance of url Values that contain all the path and querystring parameters.
↧