21 lines
556 B
Protocol Buffer
21 lines
556 B
Protocol Buffer
|
// Code generated by gen-struct. DO NOT EDIT.
|
||
|
// make gen-protobuf generated
|
||
|
|
||
|
syntax = "proto3";
|
||
|
|
||
|
option go_package = "pkg/proto";
|
||
|
|
||
|
import "stringx.proto";
|
||
|
|
||
|
message CommendResponse {
|
||
|
repeated string result = 1;
|
||
|
}
|
||
|
|
||
|
service CommServer {
|
||
|
rpc Set (SetRequest) returns (CommendResponse);
|
||
|
rpc Get (GetRequest) returns (CommendResponse);
|
||
|
rpc Add (AddRequest) returns (CommendResponse);
|
||
|
rpc Reduce (ReduceRequest) returns (CommendResponse);
|
||
|
rpc Setbit (SetbitRequest) returns (CommendResponse);
|
||
|
rpc Getbit (GetbitRequest) returns (CommendResponse);
|
||
|
}
|