device_service.proto 365 B

1234567891011121314
  1. syntax = "proto3";
  2. import "v1/device.proto";
  3. // package声明符,用来防止不同的消息类型有命名冲突
  4. package pb.service;
  5. // 用于生成指定语言go的包名称
  6. option go_package = "cp-system-management/pb";
  7. // The device service definition.
  8. service Device {
  9. rpc InitDeviceDb(pb_v1.InitDeviceDbRequest) returns (pb_v1.InitDeviceDbReply){}
  10. }