multiformats / go-multistream

an implementation of the multistream protocol in go
MIT License
40 stars 27 forks source link

Make MultistreamMuxer and Client APIs generic #95

Closed sukunrt closed 1 year ago

sukunrt commented 1 year ago

This change allows users to use their custom types instead of translating to and from string type

Related to: https://github.com/libp2p/go-libp2p/issues/1886

sukunrt commented 1 year ago

Addressed review comments.

sukunrt commented 1 year ago

Agreed. I think this now covers the complete API.

marten-seemann commented 1 year ago

Nice work, @sukunrt!