- 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
推薦閱讀
- Reporting with Visual Studio and Crystal Reports
- OpenCV實例精解
- Python從小白到大牛
- Hands-On Image Processing with Python
- Java Web基礎(chǔ)與實例教程(第2版·微課版)
- 我的第一本算法書
- AngularJS深度剖析與最佳實踐
- HTML5+CSS3網(wǎng)站設(shè)計教程
- Kotlin Standard Library Cookbook
- Learning Laravel's Eloquent
- Spring核心技術(shù)和案例實戰(zhàn)
- C專家編程
- Fast Data Processing with Spark(Second Edition)
- Python編程:從入門到實踐(第3版)
- 深入解析Java編譯器:源碼剖析與實例詳解