Questions tagged [servemux]

In go ServeMux is an HTTP request multiplexer. It matches the URL of each incoming request against a list of registered patterns and calls the handler for the pattern that most closely matches the URL.

In go ServeMux is an HTTP request multiplexer. It matches the URL of each incoming request against a list of registered patterns and calls the handler for the pattern that most closely matches the URL. more information: http://golang.org/pkg/net/http/#ServeMux

16 questions
-5
votes
1 answer

Web server graceful shutdown not working as expected

I have previously blogged about creating a webserver in Go with graceful shutdown. https://marcofranssen.nl/go-webserver-with-gracefull-shutdown/#TLDR This solution works perfectly, however for a bigger project I would like to further structure the…
Marco
  • 4,817
  • 5
  • 34
  • 75
1
2