lbryschema.go/pb/source.proto

17 lines
355 B
Protocol Buffer
Raw Normal View History

2017-09-06 16:31:28 +02:00
syntax = "proto2";
package pb;
message Source {
enum Version {
UNKNOWN_VERSION = 0;
_0_0_1 = 1;
}
required Version version = 1;
enum SourceTypes {
UNKNOWN_SOURCE_TYPE = 0;
lbry_sd_hash = 1;
}
required SourceTypes sourceType = 2;
required bytes source = 3;
required string contentType = 4;
}