1 Star 0 Fork 0

陈天/taibak

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
task.proto 445 Bytes
一键复制 编辑 原始数据 按行查看 历史
陈天 提交于 2022-04-30 21:31 +08:00 . [*]整合后的第一次合并
syntax = "proto3";
package rpc;
import "dbtask.proto";
service Task {
rpc Run(TaskRequest) returns (TaskResponse) {}
rpc DbRun(DbTaskRequest) returns (DbTaskResponse) {}
}
message TaskRequest {
string command = 2; // 命令
int32 timeout = 3; // 任务执行超时时间
int64 id = 4; // 执行任务唯一ID
}
message TaskResponse {
string output = 1; // 命令标准输出
string error = 2; // 命令错误
}
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Go
1
https://gitee.com/hakwolf/taibak.git
git@gitee.com:hakwolf/taibak.git
hakwolf
taibak
taibak
000f062082a1

搜索帮助