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 is all about networking. Most of the recipes in this chapter are focused on the client side. We will go through how to resolve basic information about the network on the machine, domain names and IP resolution, and connecting through TCP-related protocols such as HTTP and SMTP. Finally, we will make a remote procedure call via JSON-RCP 1.0 with the use of the standard library.

Check whether Go is properly installed. The Getting ready section from the Retrieving Golang version recipe from Chapter 1Interacting With Environment, will help you. Verify if any other application blocks the 7070 port.

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