github.com/machinefi/w3bstream@v1.6.5-rc9.0.20240426031326-b8c7c4876e72/pkg/depends/protocol/eventpb/event.proto (about)

     1  syntax = "proto3";
     2  package eventpb;
     3  option go_package = "./;eventpb";
     4  
     5  message Header {
     6    string event_type = 1; // event type
     7    string pub_id = 2;     // the unique identifier for publisher
     8    string token = 3;      // for validation message
     9    int64 pub_time = 4;    // event pub timestamp
    10    string event_id = 5;   // event id for tracing
    11  }
    12  
    13  message Event {
    14    Header header = 1;
    15    bytes payload = 2;
    16  }