This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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