O'Reilly logo

Go Standard Library Cookbook by Radomir Sohlich

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Introduction

This chapter covers topics from implementing simple TCP and UDP servers to spinning the HTTP server. The recipes will lead you from the HTTP request handling, serving the static content, to providing the secured HTTP content.

Check if Go is properly installed. The Getting ready section in the Retrieving Golang version recipe of Chapter 1Interacting With Environment, will help you.  Make sure the ports 8080 and 7070 are not used by another application.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required