- 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
推薦閱讀
- Leap Motion Development Essentials
- Java FX應(yīng)用開(kāi)發(fā)教程
- Python機(jī)器學(xué)習(xí):手把手教你掌握150個(gè)精彩案例(微課視頻版)
- Learning OpenCV 3 Computer Vision with Python(Second Edition)
- 速學(xué)Python:程序設(shè)計(jì)從入門(mén)到進(jìn)階
- 小型編譯器設(shè)計(jì)實(shí)踐
- 動(dòng)手打造深度學(xué)習(xí)框架
- RubyMotion iOS Develoment Essentials
- MyBatis 3源碼深度解析
- Python 3 Object:oriented Programming(Second Edition)
- Learning Grunt
- Learning Unreal Engine Game Development
- 人件集:人性化的軟件開(kāi)發(fā)
- Instant JRebel
- 給產(chǎn)品經(jīng)理講技術(shù)