multiformats / go-multistream

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

interface adjustments for abstraction friendliness #37

Closed raulk closed 5 years ago

raulk commented 5 years ago

This PR is part of a batch across go-libp2p repos to consolidate abstractions, interfaces and core types into libp2p/go-libp2p-core. See branch consolidate-skeleton there.

Work is being performed in the consolidate-skeleton branch across repos.

In this PR, we make backwards-compatible adjustments for go-multistream to conform to the new protocol.Negotiator interface.


Merge strategy: squash and rebase.

raulk commented 5 years ago

Merging as per review approvals in https://github.com/libp2p/go-libp2p-core/pull/1, based on process set forth in https://github.com/libp2p/go-libp2p/issues/602#issuecomment-493019016.