github.com/s7techlab/cckit@v0.10.5/examples/payment/schema/payment.proto (about)

     1  syntax = "proto3";
     2  
     3  option go_package = "github.com/s7techlab/cckit/examples/payment/schema;schema";
     4  package schema;
     5  
     6  message Payment {
     7      string type = 1;
     8      string id = 2;
     9      int32 amount = 3;
    10  }
    11  
    12  message PaymentList {
    13      repeated Payment items = 1;
    14  }
    15  
    16  message PaymentEvent {
    17      string type = 1;
    18      string id = 2;
    19      int32 amount = 3;
    20  }