gprc替代??
grpc替代??
webrpc https://github.com/webrpc/webrpc.git
drpc https://github.com/storj/drpc.git
twirp https://github.com/twitchtv/twirp.git
lrpc https://gitea.arsenm.dev/Arsen6331/lrpc.git
connect https://github.com/bufbuild/connect-go.git
---------------------------------------
https://ugorji.net/blog/serialization-in-go
Serialization In Go
View articles in the go-codec
series, source at http://github.com/ugorji/go
For data transfer between systems to occur, the sending side must encode the data structures into a stream of bytes, and the receiving side must efficiently decode the stream of bytes into a representative data structure.
There is efficient and extensive support for this when using go as your language runtime. The standard library provides support for the following general-purpose encodings:
In addition, the Go Authors and the community at large provide libraries for the following popular encodings:
- protocol buffers https://github.com/google/protobuf/
- msgpack http://msgpack.org/ https://github.com/msgpack/msgpack/blob/master/spec.md
- cbor http://cbor.io http://tools.ietf.org/html/rfc7049
- cap’n’proto http://kentonv.github.io/capnproto
- binc http://github.com/ugorji/binc
- sereal http://github.com/Sereal/Sereal
- xdr http://tools.ietf.org/html/rfc4506
- bson http://bsonspec.org