adm_task_service.proto 639 B

1234567891011121314151617
  1. syntax = "proto3";
  2. import "v1/task.proto";
  3. // package声明符,用来防止不同的消息类型有命名冲突
  4. package pb.service;
  5. // 用于生成指定语言go的包名称
  6. option go_package = "adm-task/pb";
  7. // The greeting service definition.
  8. service AdmTask {
  9. // Sends a greeting
  10. rpc GetTaskBySourceCode (v1.GetTaskBySourceCodeRequest) returns (v1.GetTaskBySourceCodeReply) {}
  11. rpc UpdateOfflineTask (v1.UpdateOfflineTaskRequest) returns (v1.UpdateOfflineTaskReply) {}
  12. rpc CheckFormat (v1.CheckFormatRequest) returns (v1.CheckFormatReply) {}
  13. rpc FieldCheck (v1.FieldCheckRequest) returns (v1.FieldCheckReply){}
  14. }