github.com/zignig/go-ipfs@v0.0.0-20141111235910-c9e5fdf55a52/net/mux/internal/pb/mux.proto (about)

     1  package mux.pb;
     2  
     3  enum ProtocolID {
     4  	Test = 0;
     5  	Identify = 1; // setup
     6  	Routing = 2;  // dht
     7  	Exchange = 3; // bitswap
     8  	Diagnostic = 4;
     9  }
    10  
    11  message PBProtocolMessage {
    12  	required ProtocolID ProtocolID = 1;
    13  	required bytes Data = 2;
    14  }