-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor locale and timezone setting
Change locale and timezone to be signalled from admin to agent after registration. Signed-off-by: Santtu Lakkala <[email protected]>
- Loading branch information
Showing
16 changed files
with
804 additions
and
168 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
Large diffs are not rendered by default.
Oops, something went wrong.
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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
// Copyright 2024 TII (SSRC) and the Ghaf contributors | ||
// SPDX-License-Identifier: Apache-2.0 | ||
syntax = "proto3"; | ||
option go_package = "./locale"; | ||
package locale; | ||
|
||
message LocaleMessage { | ||
string Locale = 1; | ||
} | ||
|
||
message TimezoneMessage { | ||
string Timezone = 1; | ||
} | ||
|
||
message Empty { | ||
} | ||
|
||
service LocaleClient { | ||
rpc LocaleSet(LocaleMessage) returns (Empty) {} | ||
rpc TimezoneSet(TimezoneMessage) returns (Empty) {} | ||
} |
Oops, something went wrong.