deliveryChannel.proto 385 B

1234567891011121314151617181920
  1. syntax = "proto3";
  2. option csharp_namespace = "XYY.gRpc.Channel";
  3. import "google/protobuf/empty.proto";
  4. package channel;
  5. service DeliveryChannel{
  6. rpc GetDeliveryChannels(google.protobuf.Empty) returns (DeliveryChannelList);
  7. }
  8. message DeliveryChannelList{
  9. repeated DeliveryChannelModel List=1;
  10. }
  11. message DeliveryChannelModel{
  12. int32 id=1;
  13. string name=2;
  14. int32 maxWeight=3;
  15. }