Skip to content

Commit

Permalink
Removes interface, adds messages.
Browse files Browse the repository at this point in the history
Signed-off-by: JU4N98 <[email protected]>
  • Loading branch information
JU4N98 committed Aug 1, 2023
1 parent c54b46e commit 0cbf201
Show file tree
Hide file tree
Showing 6 changed files with 209 additions and 98 deletions.
218 changes: 164 additions & 54 deletions pkg/notifier/notifier.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

17 changes: 12 additions & 5 deletions pkg/notifier/notifier.proto
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,20 @@ syntax = "proto3";
package notifier;
option go_package = "./;notifier";

message Empty {}

message ConfigsRequest {
message LoadConfigsRequest {
map<string,string> configs = 1;
}

message LoadConfigsResponse {
}

message UpdateX509SVIDRequest {
}

message UpdateX509SVIDResponse {
}

service Notifier {
rpc LoadConfigs(ConfigsRequest) returns (Empty) {};
rpc UpdateX509SVID(Empty) returns (Empty) {};
rpc LoadConfigs(LoadConfigsRequest) returns (LoadConfigsResponse) {};
rpc UpdateX509SVID(UpdateX509SVIDRequest) returns (UpdateX509SVIDResponse) {};
}
Loading

0 comments on commit 0cbf201

Please sign in to comment.