- Building Microservices with Go
- Nic Jackson
- 80字
- 2021-07-15 17:28:14
Gob
We have already looked at gob in the previous chapter but as a quick re-cap, the gob format was specifically designed to facilitate Go to Go-based communication and was structured around the idea of something easier to use and possibly more efficient than the likes of protocol buffers, this comes at a cost of cross-language communication.
gob object definition:
type HelloWorldRequest struct {
Name string
}
More information about gob can be found in the Go documentation at https://golang.org/pkg/encoding/gob/
推薦閱讀
- 零基礎(chǔ)學(xué)Visual C++第3版
- Java應(yīng)用與實戰(zhàn)
- Python數(shù)據(jù)可視化:基于Bokeh的可視化繪圖
- C# Programming Cookbook
- 跟小海龜學(xué)Python
- Web Application Development with R Using Shiny(Second Edition)
- Java面向?qū)ο蟪绦蜷_發(fā)及實戰(zhàn)
- MATLAB實用教程
- WordPress Plugin Development Cookbook(Second Edition)
- Oracle GoldenGate 12c Implementer's Guide
- 零基礎(chǔ)學(xué)C語言程序設(shè)計
- 微信小程序開發(fā)實戰(zhàn):設(shè)計·運營·變現(xiàn)(圖解案例版)
- C/C++代碼調(diào)試的藝術(shù)(第2版)
- Lync Server Cookbook
- Learn C Programming