plugins: improve notifier and searcher

This commit is contained in:
Nicola Murino
2021-10-20 19:39:49 +02:00
parent 3bbe67571f
commit 97d0a48557
18 changed files with 861 additions and 388 deletions

View File

@@ -1,13 +1,12 @@
syntax = "proto3";
package proto;
import "google/protobuf/timestamp.proto";
import "google/protobuf/empty.proto";
option go_package = "sdk/plugin/notifier/proto";
message FsEvent {
google.protobuf.Timestamp timestamp = 1;
int64 timestamp = 1;
string action = 2;
string username = 3;
string fs_path = 4;
@@ -22,7 +21,7 @@ message FsEvent {
}
message ProviderEvent {
google.protobuf.Timestamp timestamp = 1;
int64 timestamp = 1;
string action = 2;
string object_type = 3;
string username = 4;