google protocol buffers - modrpc/info GitHub Wiki

Overview

Using Protobuf with Go

  • web: https://github.com/golang/protobuf
  • Installation:
    • install C++ implementation: ./configure ...
    • install go pkg: go get -u github.com/golang/protobuf/{proto,protoc-gen-go}
  • Software has two parts
    • protocol compiler plugin: generates Go source files which can access and manage protocol buffers
    • run-time library: implements run-time support for encoding/decoding and accessing protocol buffers
  • gRPC: Go RPC which uses protocol buffer
    • by default, uses GOB, also, version which uses JSON
⚠️ **GitHub.com Fallback** ⚠️