950759f6d6
* Add plugin system for notifications (#857)
19 lines
No EOL
315 B
Protocol Buffer
19 lines
No EOL
315 B
Protocol Buffer
syntax = "proto3" ;
|
|
package proto;
|
|
option go_package = ".;protobufs";
|
|
|
|
message Notification {
|
|
string text = 1 ;
|
|
string name = 2 ;
|
|
}
|
|
|
|
message Config {
|
|
bytes config = 2 ;
|
|
}
|
|
|
|
message Empty {}
|
|
|
|
service Notifier {
|
|
rpc Notify(Notification) returns (Empty);
|
|
rpc Configure(Config) returns (Empty);
|
|
} |