-
Notifications
You must be signed in to change notification settings - Fork 27
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Make MultistreamMuxer and Client APIs generic #95
Make MultistreamMuxer and Client APIs generic #95
Conversation
This change allows users to use their custom types instead of translating to and from string type
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks very clean. I like it!
I added a few comments.
Other review fixes added too
Addressed review comments. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. Just for completeness, should NewMultistream also be made generic?
Agreed. I think this now covers the complete API. |
Nice work, @sukunrt! |
This change allows users to use their custom types instead of translating to and from string type
Related to: libp2p/go-libp2p#1886