Introduction
Let’s get an overview of building web services.
We'll cover the following
Working with HTTP
The core subject of this chapter is working with HTTP using the net/http
package—remember that all web services require a web server in order to operate. Additionally, in this chapter, we are going to convert the phone book application into a web application that accepts HTTP connections and create a command-line client to work with it. Lastly, we’ll illustrate how to create an FTP (file transfer protocol) server and how to export metrics from Go applications to Prometheus and work with the runtime/metrics
package to get implementation-defined metrics exported by the Go runtime.
Get hands-on with 1400+ tech skills courses.