libp2p-fetch 0.1.0

(WIP) Implementation of libp2p fetch protocol
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
syntax = "proto3";

package namesys.pb;

message FetchRequest {
	string identifier = 1;
}

message FetchResponse {
	StatusCode status = 1;
	enum StatusCode {
		OK = 0;
		NOT_FOUND = 1;
		ERROR = 2;
	}
	bytes data = 2;
}