mirror of
https://github.com/ipfs/kubo.git
synced 2026-02-22 10:57:42 +08:00
* ID service stream * make the relay service use msmux * fix nc tests Note from jbenet: Maybe we should remove the old protocol/muxer and see what breaks. It shouldn't be used by anything now. License: MIT Signed-off-by: Jeromy <jeromyj@gmail.com> Signed-off-by: Juan Batiz-Benet <juan@benet.ai>
10 lines
178 B
Go
10 lines
178 B
Go
package protocol
|
|
|
|
// ID is an identifier used to write protocol headers in streams.
|
|
type ID string
|
|
|
|
// These are reserved protocol.IDs.
|
|
const (
|
|
TestingID ID = "/p2p/_testing"
|
|
)
|