Summary
In this chapter, we learned how to work with HTTP, how to create Docker images from Go code, how to expose metrics to Prometheus, as well as how to develop HTTP clients and servers. We have also updated the phone book application into a web application and programmed a command-line client for it. Additionally, we learned how to time out HTTP connections and develop file servers.
We are now ready to begin developing powerful and concurrent HTTP applications—however, we are not done yet with HTTP. Chapter 10, Working with REST APIs, is going to connect the dots and show how to develop powerful RESTful servers and clients.
But first, we need to learn about working with TCP/IP, TCP, UDP, and WebSocket, which are the subjects of the next chapter.