forked from p93542168/wheat-cache
35 lines
1.3 KiB
Protocol Buffer
35 lines
1.3 KiB
Protocol Buffer
// Code generated by gen-struct. DO NOT EDIT.
|
|
// make gen-protobuf generated
|
|
|
|
syntax = "proto3";
|
|
|
|
option go_package = "pkg/proto";
|
|
|
|
import "stringx.proto";
|
|
import "listx.proto";
|
|
|
|
|
|
service CommServer {
|
|
rpc Set (SetRequest) returns (SetResponse);
|
|
rpc Get (GetRequest) returns (GetResponse);
|
|
rpc Add (AddRequest) returns (AddResponse);
|
|
rpc Reduce (ReduceRequest) returns (ReduceResponse);
|
|
rpc SetBit (SetBitRequest) returns (SetBitResponse);
|
|
rpc GetBit (GetBitRequest) returns (GetBitResponse);
|
|
rpc GetRange (GetRangeRequest) returns (GetRangeResponse);
|
|
rpc GetSet (GetSetRequest) returns (GetSetResponse);
|
|
rpc StrLen (StrLenRequest) returns (StrLenResponse);
|
|
rpc Setnx (SetnxRequest) returns (SetnxResponse);
|
|
rpc LIndex (LIndexRequest) returns (LIndexResponse);
|
|
rpc LLen (LLenRequest) returns (LLenResponse);
|
|
rpc LPop (LPopRequest) returns (LPopResponse);
|
|
rpc LPush (LPushRequest) returns (LPushResponse);
|
|
rpc LPushX (LPushXRequest) returns (LPushXResponse);
|
|
rpc LRange (LRangeRequest) returns (LRangeResponse);
|
|
rpc LRem (LRemRequest) returns (LRemResponse);
|
|
rpc LSet (LSetRequest) returns (LSetResponse);
|
|
rpc RPop (RPopRequest) returns (RPopResponse);
|
|
rpc LTrim (LTrimRequest) returns (LTrimResponse);
|
|
rpc RPush (RPushRequest) returns (RPushResponse);
|
|
rpc RPushX (RPushXRequest) returns (RPushXResponse);
|
|
} |