-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Revert "removing values.Map from BaseMessage proto as Beholder only s…
- Loading branch information
1 parent
84d3ef9
commit c5c856e
Showing
4 changed files
with
43 additions
and
55 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,17 @@ | ||
syntax = "proto3"; | ||
|
||
import "values/pb/values.proto"; | ||
|
||
option go_package = "github.com/smartcontractkit/chainlink-common/pkg/beholder/pb/"; | ||
|
||
package pb; | ||
|
||
// BaseMessage is a basic custom message, allowing the consumer to send | ||
// a string msg with some key-value pairs for labels. Consumers can consume | ||
// BaseMessage directly or extend it by adding use-case specific fields | ||
// NOTE: do not compose protos for Beholder until INFOPLAT-1386 is completed | ||
// BaseMessage directly or extend it by addding use-case specific fields | ||
message BaseMessage { | ||
string msg=1; | ||
// https://protobuf.dev/programming-guides/proto3/#maps | ||
// In go: if Value is empty for a key, nothing will be serialized | ||
map<string, string> labels = 2; | ||
values.Map labels = 2; | ||
} |
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
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