github.com/crowdsecurity/crowdsec@v1.6.1/pkg/protobufs/notifier.proto (about)

     1  syntax = "proto3" ; 
     2  package proto;
     3  option go_package = ".;protobufs";
     4  
     5  message Notification {
     6      string text = 1 ; 
     7      string name = 2 ; 
     8  }
     9  
    10  message Config {
    11      bytes config = 2 ;
    12  }
    13  
    14  message Empty {}
    15  
    16  service Notifier {
    17      rpc Notify(Notification) returns (Empty);
    18      rpc Configure(Config)  returns (Empty);
    19  }