Skip to content

Commit e64f47c

Browse files
committed
pkg/types/core: add SettingsBroadcaster
1 parent 023dd1d commit e64f47c

File tree

11 files changed

+525
-64
lines changed

11 files changed

+525
-64
lines changed

pkg/capabilities/pb/capabilities.pb.go

Lines changed: 106 additions & 37 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pkg/capabilities/pb/capabilities.proto

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -173,8 +173,18 @@ message InitialiseRequest {
173173
uint32 gateway_connector_id = 9;
174174
uint32 keystore_id = 10;
175175
uint32 org_resolver_id = 11;
176+
uint32 cre_settings_id = 12;
176177
}
177178

178179
message CapabilityInfosReply {
179180
repeated CapabilityInfoReply infos = 1;
181+
}
182+
183+
service Settings {
184+
rpc Subscribe (google.protobuf.Empty) returns (stream SettingsUpdate) {}
185+
}
186+
187+
message SettingsUpdate {
188+
string settings = 1; // default format TOML
189+
string hash = 2; // default sha256
180190
}

pkg/capabilities/pb/capabilities_grpc.pb.go

Lines changed: 105 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)