crowdsec/pkg/protobufs/notifier.proto
Thibault "bui" Koechlin 950759f6d6
Output plugins (#878)
* Add plugin system for notifications (#857)
2021-08-25 11:43:29 +02:00

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);
}