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

Working with Middleware and RPC

In this chapter, we are going to look at middleware functionality. What is middleware, and how can we build it from scratch? Next, we will move to a better middleware solution written for us, called Gorilla Handlers. We will then try to understand a few use cases where middleware can be helpful. After that, we will start building our RPC services with Go's internal RPC and JSON RPC. Then we will move to an advanced RPC framework, such Gorilla HTTP RPC.

The topics we cover in this chapter are:

  • What is middleware?
  • What is an RPC (Remote Procedure Call)?
  • How can we implement RPC and JSON RPC in Go?
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