bvc.proto 887 B

12345678910111213141516171819202122232425262728293031323334
  1. syntax="proto3";
  2. package video.vod.playurlbbq;
  3. import "github.com/gogo/protobuf/gogoproto/gogo.proto";
  4. option go_package = "grpc";
  5. option (gogoproto.goproto_getters_all) = false;
  6. option (gogoproto.goproto_stringer_all) = false;
  7. option (gogoproto.stringer_all) = true;
  8. message RequestMsg {
  9. repeated string keys = 1;
  10. string platform = 2;
  11. string uip = 3[(gogoproto.customname)= "UIP"];
  12. uint32 uiplong = 4;
  13. uint32 backup = 5;
  14. string uuid = 6[(gogoproto.customname)= "UUID"];
  15. }
  16. message VideoKeyItem {
  17. uint32 etime = 1;
  18. repeated string url = 2[(gogoproto.customname)= "URL"];
  19. }
  20. message ResponseMsg {
  21. uint32 code = 1;
  22. map<string, VideoKeyItem> data = 2;
  23. }
  24. //// Following defines rpc services.
  25. service PlayurlService {
  26. rpc ProtobufPlayurl(RequestMsg) returns (ResponseMsg);
  27. };