Skip to content

Commit

Permalink
Allow getting current server config
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexProgrammerDE committed Dec 29, 2024
1 parent fd3d5d9 commit 06c2b74
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions proto/src/main/proto/soulfire/server.proto
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,13 @@ message ServerConfig {
repeated SettingsNamespace settings = 1;
}

message ServerInfoRequest {
}

message ServerInfoResponse {
ServerConfig config = 1;
}

message ServerUpdateConfigRequest {
ServerConfig config = 1;
}
Expand All @@ -19,5 +26,6 @@ message ServerUpdateConfigResponse {
}

service ServerService {
rpc getServerInfo(ServerInfoRequest) returns (ServerInfoResponse);
rpc updateServerConfig(ServerUpdateConfigRequest) returns (ServerUpdateConfigResponse);
}

0 comments on commit 06c2b74

Please sign in to comment.