© The Author(s), under exclusive license to APress Media, LLC, part of Springer Nature 2022
A. FreemanPro Gohttps://doi.org/10.1007/978-1-4842-7355-5_24

24. Creating HTTP Servers

Adam Freeman1  
(1)
London, UK
 
In this chapter, I describe the standard library support for creating HTTP servers and processing HTTP and HTTPS requests. I show you how to create a server and explain the different ways in which requests can be handled, including form requests. Table 24-1 puts HTTP servers in context.
Table 24-1

Putting HTTP Servers in Context

Question

Answer

What are they?

The features described in this chapter make it easy for Go applications to create HTTP servers.

Why are they useful?

HTTP is one of the most widely used protocols and is useful for both user-facing ...

Get Pro Go: The Complete Guide to Programming Reliable and Efficient Software Using Golang now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.