August 2021
Beginner to intermediate
682 pages
13h 37m
English
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.
In more detail, this chapter covers:
net/http packageRead now
Unlock full access