Skip to content
This repository has been archived by the owner on Jun 20, 2024. It is now read-only.

Add protobuf encoding for msg handling #5

Closed
aloknerurkar opened this issue Sep 27, 2023 · 0 comments · Fixed by #33
Closed

Add protobuf encoding for msg handling #5

aloknerurkar opened this issue Sep 27, 2023 · 0 comments · Fixed by #33

Comments

@aloknerurkar
Copy link
Contributor

Add protobuf encoding, similar to pkg/p2p/msgpack.

For protobuf, we don't need to use generics as pb.Message interface already provides similar features.

ReadMsg(context.Context, pb.Message) error
WriteMsg(context.Context, pb.Message) error

Add unit tests for the implementation.

@aloknerurkar aloknerurkar linked a pull request Oct 3, 2023 that will close this issue
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant