Initial commit

This commit is contained in:
Ilya Groshev
2026-04-14 09:28:26 +03:00
commit 02f511f40c
161 changed files with 21541 additions and 0 deletions
+41
View File
@@ -0,0 +1,41 @@
syntax = "proto3";
option go_package = "lunar-tear/server/gen/proto;proto";
import "google/protobuf/empty.proto";
import "proto/data.proto";
package apb.api.config;
service ConfigService {
rpc GetReviewServerConfig (google.protobuf.Empty) returns (GetReviewServerConfigResponse);
}
message GetReviewServerConfigResponse {
ApiConfig api = 1;
OctoConfig octo = 2;
WebViewConfig webView = 3;
MasterDataConfig masterData = 4;
map<string, apb.api.data.DiffData> diffUserData = 99;
}
message ApiConfig {
string hostname = 1;
int32 port = 2;
}
message OctoConfig {
int32 version = 1;
int32 appId = 2;
string clientSecretKey = 3;
string aesKey = 4;
string url = 5;
}
message WebViewConfig {
string baseUrl = 1;
}
message MasterDataConfig {
string urlFormat = 1;
}