go-pbs:go的protobuf流

时间:2021-06-10 05:44:04
【文件属性】:
文件名称:go-pbs:go的protobuf流
文件大小:16KB
文件格式:ZIP
更新时间:2021-06-10 05:44:04
Go 去-pbs go中流协议缓冲区的实现。 有关更多信息,请参阅 这个实现仍然非常 WIP,并没有完全实现 protobuf 规范。 您还需要手动修改 *.pb.go 文件,使它们实现StreamMessage接口。 所有重复的字段都需要更改为频道。 我计划很快编写一个代码生成器来从 .proto 文件中做到这一点。
【文件预览】:
go-pbs-master
----chat()
--------main.go(2KB)
--------chat.proto(188B)
--------chat.pb.go(2KB)
----testproto()
--------test.pb.go(3KB)
----pbs.go(8KB)
----pbs_test.go(3KB)
----pbs_pb_test.go(2KB)
----example()
--------main.go(2KB)
--------test.pb.go(2KB)
--------test.proto(228B)
----LICENSE(1KB)
----README.md(474B)
----test.proto(361B)
----proto-gen()
--------main.go(3KB)
--------README.md(489B)
--------tokens.go(857B)
--------proto_printer.go(745B)
--------go_stream_printer.go(5KB)

网友评论