Skip to Content
Building RESTful Web services with Go
book

Building RESTful Web services with Go

by Naren Yellavula
December 2017
Intermediate to advanced
316 pages
6h 58m
English
Packt Publishing
Content preview from Building RESTful Web services with Go

Introduction to GRPC

GRPC is a transport mechanism that sends and receives messages between two systems. These two systems are traditionally a server and a client. As we described in the previous chapters, RPC can be implemented in Go for transferring JSON. We called it a JSON RPC service. Similarly, Google RPC is specially designed to transfer data in the form of protocol buffers. 

GRPC makes the service creation easy and elegant. It provides a nice set of APIs to define services and start running them. In this section, we will mainly focus on how to create a GRPC service and use it. The main advantage of GRPC is that it can be understood by multiple programming languages. Protocol buffers provide a common data structure. So, the combination ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Hands-On RESTful Web Services with Go - Second Edition

Hands-On RESTful Web Services with Go - Second Edition

Naren Yellavula
Microservices with Go

Microservices with Go

Alexander Shuiskov

Publisher Resources

ISBN: 9781788294287Supplemental Content