Skip to content
Permalink
6870873f06
Switch branches/tags
Go to file
 
 
Cannot retrieve contributors at this time
14 lines (13 sloc) 318 Bytes
'use strict'
// Response types are defined here:
// https://github.com/libp2p/go-libp2p-core/blob/6e566d10f4a5447317a66d64c7459954b969bdab/routing/query.go#L15-L24
module.exports = {
SendingQuery: 0,
PeerResponse: 1,
FinalPeer: 2,
QueryError: 3,
Provider: 4,
Value: 5,
AddingPeer: 6,
DialingPeer: 7
}