go-libp2p/p2p/protocol/protocol.go

10 lines
178 B
Go
Raw Normal View History

2014-12-30 03:34:34 +00:00
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"
)