mirror of
https://github.com/crawlab-team/crawlab.git
synced 2026-01-22 17:31:03 +01:00
18 lines
236 B
Protocol Buffer
18 lines
236 B
Protocol Buffer
syntax = "proto3";
|
|
|
|
package grpc;
|
|
option go_package = ".;grpc";
|
|
|
|
enum ResponseCode {
|
|
OK = 0;
|
|
ERROR = 1;
|
|
}
|
|
|
|
message Response {
|
|
ResponseCode code = 1;
|
|
string message = 2;
|
|
bytes data = 3;
|
|
string error = 4;
|
|
int64 total = 5;
|
|
}
|