mirror of
https://github.com/n08i40k/polytechnic-android.git
synced 2025-12-08 10:38:55 +03:00
3.1.1
Кешированные ответы от сервера теперь находятся в специальном файле, а не в настройках. Возвращён просмотр подробностей о паре.
This commit is contained in:
19
app/src/main/proto/cache.proto
Normal file
19
app/src/main/proto/cache.proto
Normal file
@@ -0,0 +1,19 @@
|
||||
syntax = "proto3";
|
||||
|
||||
option java_package = "ru.n08i40k.polytechnic.next";
|
||||
option java_multiple_files = true;
|
||||
|
||||
message CacheResponse {
|
||||
string hash = 1;
|
||||
string data = 2;
|
||||
}
|
||||
|
||||
message CacheDate {
|
||||
int64 cache = 1;
|
||||
int64 schedule = 2;
|
||||
}
|
||||
|
||||
message Cache {
|
||||
map<string, CacheResponse> storage = 4;
|
||||
CacheDate date = 5;
|
||||
}
|
||||
Reference in New Issue
Block a user