syntax = "proto3"; | |
package tgnews_index; | |
message Doc { | |
bytes title = 1; | |
bytes url = 2; | |
string lang = 3; | |
string category = 4; | |
repeated float embed = 5; | |
int64 timestamp = 6; | |
int64 age = 7; | |
} | |
message Docs { | |
map<string, Doc> docs = 1; // names to docs | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment