go-libp2p-core/protocol/id.go

10 lines
178 B
Go
Raw Normal View History

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"
)