- Hands-On RESTful Web Services with Go
- Naren Yellavula
- 129字
- 2021-06-24 17:04:28
Working with Middleware and RPC
In this chapter, we are going to look at two new concepts. First, we will learn about middleware, and how can we build one from scratch. Then, we will move to a better middleware solution written by the community, called Gorilla handlers. We will then see the use cases where middleware is helpful. After that, we will learn about developing Remote Procedure Call (RPC) services with Go's internal RPC and JSON-RPC. Then, we will move to an advanced RPC framework called Gorilla HTTP RPC.
The topics we cover in this chapter are as follows:
- What is middleware?
- Multiple middleware and chaining
- Painless middleware chaining with alice
- Using Gorilla handlers middleware for logging
- What is RPC?
- JSON-RPC using Gorilla RPC
推薦閱讀
- DB2 V9權(quán)威指南
- 嵌入式軟件系統(tǒng)測試:基于形式化方法的自動化測試解決方案
- UML和模式應(yīng)用(原書第3版)
- PowerCLI Cookbook
- Learning ArcGIS Pro
- C#程序設(shè)計
- The HTML and CSS Workshop
- MATLAB 2020從入門到精通
- 速學(xué)Python:程序設(shè)計從入門到進(jìn)階
- Test-Driven JavaScript Development
- Getting Started with Polymer
- Web Developer's Reference Guide
- UX Design for Mobile
- Python編程入門(第3版)
- 算法超簡單:趣味游戲帶你輕松入門與實踐